sysplot.add_origin#
- add_origin(ax=None)[source]#
Ensure the origin is included in axes autoscaling.
Adds an invisible scatter point at
(0, 0)so autoscaling includes the origin without changing the visible plot or advancing any style cyclers.- Parameters:
ax (
Axes|None) – Target axes. IfNone, usesmatplotlib.pyplot.gca().- Return type:
None
Examples using
sysplot.add_origin#- rtype:
None