CentredAxes¶
- class stonerplots.CentredAxes(x=0.0, y=0.0, include_open=False, use=None)¶
Bases:
TrackNewFiguresAndAxes,PreserveFigureMixinRemove the plot frame from all enclosed figures and move the axes to specified x,y values.
- Keyword Args:
- x (float, default 0):
x co-ordinate of the vertical (y) axis.
- y (float, default 0):
y co=ordinate of the horizontal (x) axis.
- include_open (bool):
If True, any figures opened before entering the context are included for adjusting. Default is False.
- use (Figure):
If set, use this matplotlib figure in the context hander. This is useful in a situation where one partially plots a figure, then run some other code outside the context handler and finally return and finish plotting the figure.
Methods Summary
__call__([x, y, include_open, use])Update settings dynamically and return self.
Methods Documentation
- __call__(x=None, y=None, include_open=None, use=None)¶
Update settings dynamically and return self.