.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "_auto_examples/emphasize_coord_lines.py" .. LINE NUMBERS ARE GIVEN BELOW. .. only:: html .. note:: :class: sphx-glr-download-link-note :ref:`Go to the end ` to download the full example code. .. rst-class:: sphx-glr-example-title .. _sphx_glr__auto_examples_emphasize_coord_lines.py: Emphasize Coordinate Lines Example ===================================== :func:`sysplot.emphasize_coord_lines` draws the x = 0 and y = 0 lines with increased visual weight, providing clear reference axes. T .. GENERATED FROM PYTHON SOURCE LINES 7-23 .. image-sg:: /_auto_examples/images/sphx_glr_emphasize_coord_lines_001.png :alt: Emphasize Coord Lines :srcset: /_auto_examples/images/sphx_glr_emphasize_coord_lines_001.png :class: sphx-glr-single-img .. code-block:: Python import matplotlib.pyplot as plt import sysplot as ssp ssp.apply_config() fig, ax = plt.subplots() # the coordinate axes are empphazised ssp.emphasize_coord_lines(fig) plt.plot([-2, 2], [-1, 1]) ax.set(title="Emphasize Coord Lines", xlabel="x", ylabel="y") plt.show() .. rst-class:: sphx-glr-timing **Total running time of the script:** (0 minutes 0.286 seconds) .. _sphx_glr_download__auto_examples_emphasize_coord_lines.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: emphasize_coord_lines.ipynb ` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: emphasize_coord_lines.py ` .. container:: sphx-glr-download sphx-glr-download-zip :download:`Download zipped: emphasize_coord_lines.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_