Skip to content

Provide plot, trend, trend2d and image subcommands

Carlos Pascual requested to merge github/fork/cpascual/alt_cmd into develop

Implement plot, trend, trend2d and image subcommands to replace the plugin-specific ones (qwt5 plot, tpg plot, etc.).

The new subcommands make use of taurus.core.util.plugin.selectEntryPoint in order to select the preferred implementation for the plot (or trend, etc) widget, and the plugins register the corresponding widget classes using the following newly defined entry point groups:

  • taurus.plot.alts
  • taurus.trend.alts
  • taurus.trend2d.alts
  • taurus.image.alts

The following is needed to consider this PR ready for integration:

  • provide the new entry point groups
  • implement the new commands
  • provide unittests for the new commands and APIs
  • deprecate old subcommands (qwt5, guiqwt, tpg)
  • document the usage of these new entry points
  • document the expected minimum API of a TaurusPlot, TaurusTrend, TaurusTrend2D and TaurusImage
  • update changelog

Merge request reports