sysplot.emphasize_coord_lines#

emphasize_coord_lines(fig=None, **kwargs)[source]#

Draw coordinate axes lines at the origin on all 2D axes in a figure.

Adds one horizontal line at y=0 and one vertical line at x=0 for every 2D axes in the target figure.

Parameters:
  • fig (Figure | None) – Matplotlib figure to modify. If None, uses matplotlib.pyplot.gcf().

  • **kwargs

    Additional keyword arguments forwarded to matplotlib.axes.Axes.axhline() and matplotlib.axes.Axes.axvline().

    color controls both coordinate lines unless overridden. If omitted, the default is rcParams["grid.color"].

Return type:

None

Note

3D axes are not currently supported.

Examples using sysplot.emphasize_coord_lines#

Emphasize Coordinate Lines Example

Emphasize Coordinate Lines Example

Quick Start Example

Quick Start Example

Zorder Example

Zorder Example