MatplotlibDataViewerState#

class glue.viewers.matplotlib.state.MatplotlibDataViewerState(*args, **kwargs)[source]#

Bases: ViewerState

A base class that includes common attributes for viewers based on Matplotlib.

Attributes Summary

aspect

Aspect ratio for the axes

show_axes

Whether the axes are shown

x_axislabel

Label for the x-axis

x_axislabel_size

Size of the x-axis label

x_axislabel_weight

Weight of the x-axis label

x_log

Whether the x axis is logarithmic

x_max

Upper limit of the visible x range

x_min

Lower limit of the visible x range

x_ticklabel_size

Size of the x-axis tick labels

y_axislabel

Label for the y-axis

y_axislabel_size

Size of the y-axis label

y_axislabel_weight

Weight of the y-axis label

y_log

Whether the y axis is logarithmic

y_max

Upper limit of the visible y range

y_min

Lower limit of the visible y range

y_ticklabel_size

Size of the y-axis tick labels

Methods Summary

update_axes_settings_from(state)

Attributes Documentation

aspect#

Aspect ratio for the axes

show_axes#

Whether the axes are shown

x_axislabel#

Label for the x-axis

x_axislabel_size#

Size of the x-axis label

x_axislabel_weight#

Weight of the x-axis label

x_log#

Whether the x axis is logarithmic

x_max#

Upper limit of the visible x range

x_min#

Lower limit of the visible x range

x_ticklabel_size#

Size of the x-axis tick labels

y_axislabel#

Label for the y-axis

y_axislabel_size#

Size of the y-axis label

y_axislabel_weight#

Weight of the y-axis label

y_log#

Whether the y axis is logarithmic

y_max#

Upper limit of the visible y range

y_min#

Lower limit of the visible y range

y_ticklabel_size#

Size of the y-axis tick labels

Methods Documentation

update_axes_settings_from(state)[source]#