pathomx
pathomx copied to clipboard
Basic graphing configuration
Currently the graphs in Pathomx are very unconfigurable. Simple things like being able to change scales/etc. and add error bars would be very helpful.
The task is to define a set of basic options that are supported on multiple matplotlib graph types and create a ConfigPanel for them and add the config hooks to the views. In order to support the config by default as long as the panel is in place, the views should either function without the settings (preferable?) or set defaults on the config (bit hacky).
The config handler has hooks into the QtWidgets so you can define a config option 'show_error_bars' and set the widget as a handler and everything is automated - updating the widget refreshes the graph without intervention so this should be fairly straightforward to implement. One option here is to have the config panels add default settings options for any setting they can control (assuming it's not already set).
This would mean a tool can simple add the panel and forget.