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 ratio for the axes
Whether the axes are shown
Label for the x-axis
Size of the x-axis label
Weight of the x-axis label
Whether the x axis is logarithmic
Upper limit of the visible x range
Lower limit of the visible x range
Size of the x-axis tick labels
Label for the y-axis
Size of the y-axis label
Weight of the y-axis label
Whether the y axis is logarithmic
Upper limit of the visible y range
Lower limit of the visible y range
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