tools.UI_confPlot module

Dialog for configuration of matplotlib plot widget

class tools.UI_confPlot.ConfPlot(config=None, parent=None)[source]

Bases: QDialog

Matplotlib configuration

Methods

plot(textStyle)

Do the sample plot using the specified style confuguration, the style configuration can be a named matplotlib style or a dictionary with rc_params

updatePlot()

Update plot with the new configuration, global style or only a rcParams changed

updateStyle(textStyle)

Update rcParams with the new selected style and update plot

value(config)

Update ConfigParser instance with the config

__init__(config=None, parent=None)[source]
updateStyle(textStyle)[source]

Update rcParams with the new selected style and update plot

updatePlot()[source]

Update plot with the new configuration, global style or only a rcParams changed

plot(textStyle)[source]

Do the sample plot using the specified style confuguration, the style configuration can be a named matplotlib style or a dictionary with rc_params

_getRcParams()[source]

Get rc parameters from widgets

_setRcParams(rcparams)[source]

Populate widgets with the dict rcparams given as parameter

value(config)[source]

Update ConfigParser instance with the config