f4enix.output.plotter.Plotter2D#
- class f4enix.output.plotter.Plotter2D(suptitle: str | None = None, xlabel: str | None = None, ylabel: str | None = None)#
Bases:
ABCAbstract class for the definition of 2D plots.
- Parameters:
suptitle (str, optional) – title of the plot, by default None
xlabel (str, optional) – X axis label, by default None
ylabel (str, optional) – Y axis label, by default None
- Variables:
fig (matplotlib.pyplot.Figure) – matplotlib figure representation
ax (matplotlib.pyplot.Axis) – matplotlib axes representation
markers (list[str]) – markers used in the plots [‘o’, ‘s’, ‘D’, ‘^’, ‘X’, ‘p’, ‘d’, ‘*’].
lines (list[str]) – linestyles used in the plots [‘-’, ‘–’, ‘-.’, ‘:’]
colors (list[str]) – colors used in the plots. They compose a color-blind friendly palette.
Methods
__init__([suptitle, xlabel, ylabel])Abstract class for the definition of 2D plots.
plot()save(outpath)