tueplots.markers module#
Marker styles and sizes (tueplots.markers
).
Provides predefined marker shapes and sizes for scatter plots and line charts.
Examples
>>> import matplotlib.pyplot as plt
>>> from tueplots import markers
>>>
>>> # Select a style bundle
>>> style = markers.with_edge()
>>>
>>> # Apply the style to matplotlib
>>> plt.rcParams.update(style)
>>>
>>> # Create a plot
>>> fig, ax = plt.subplots()
>>> ax.plot([0, 1, 2], [2, 1, 3], "o-")
>>> ax.set_xlabel("$x$ label")
>>> ax.set_ylabel("$y$ label")
>>> plt.show()
(Source code
, png
, hires.png
, pdf
)
