mappy_ds.plot.PlotConfig#
- class mappy_ds.plot.PlotConfig(only_map=False, figsize=(6, 6), xlabel='x', ylabel='y', xlim=(-3, 3), ylim=(-3, 3), xkey=0, ykey=1, linewidth=1.0, markersize=3.0, param_keys=<factory>, param_index=0, param_step=0.1, scalar_axis='x', trajectory_style=<factory>, point_style=<factory>, click_style=<factory>)#
Configuration of
plot2d().- Attributes:
- only_mapbool
Draw only the image points, not the trajectories between them.
- figsizetuple of float
Figure size in inches.
- xlabel, ylabelstr
Axis labels.
- xlim, ylimtuple of float
Axis limits.
- xkey, ykeyint
Indices of the state components on the horizontal and vertical axes.
- linewidthfloat
Width of trajectory lines.
- markersizefloat
Size of the point markers.
- param_keyslist of str
Parameters that can be changed with the up/down keys.
- param_indexint
Index into
param_keysof the parameter changed first.- param_stepfloat
Increment applied by one up/down key press.
- scalar_axis{“x”, “y”}
For one-dimensional maps, the axis whose coordinate becomes the state when the figure is clicked.
- trajectory_styleLineStyle or dict of str to LineStyle
Style of trajectory segments, either one for all modes or one per mode (with optional
"_default"fallback).- point_styleLineStyle or dict of str to LineStyle
Style of image points, chosen by the mode of the last trajectory segment.
- click_styleLineStyle
Style of the marker placed at a clicked initial state.