Plotting Base¶
PlotBase¶
MatplotlibMixin¶
-
class
spatialtis.plotting.abc.
MatplotlibMixin
(**plot_options)[source]¶ Mixin for Matplotlib
-
fig
¶ Matplotlib.Figure
- Type
Union[matplotlib.figure.Figure, seaborn.matrix.ClusterGrid]
-
ax
¶ Matplotlib.Subplots or Axes
- Type
Union[matplotlib.axes._subplots.SubplotBase, matplotlib.axes._axes.Axes]
-
axes
¶ Array of ax
- Type
numpy.ndarray
-
BokehMixin¶
PyechartsMixin¶
-
class
spatialtis.plotting.abc.
PyechartsMixin
(**plot_options)[source]¶ Mixin for Pyecharts
- Parameters
theme – Please go to theme for details, (Default: “white”)
renderer – “canvas” or “svg”, (Default: “canvas”)
-
save
(path=None, **save_options)[source]¶ To save a plot
Better options is to save a html file and use screen capture to get a static image
- Parameters
path – The directory and file name to save the plot
**save_options – Pass to make_snapshot