Skip to content

Commit

Permalink
remove plotting examples and link to gallery instead
Browse files Browse the repository at this point in the history
  • Loading branch information
f-brinkmann committed Apr 20, 2024
1 parent 0498351 commit a253798
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 92 deletions.
12 changes: 0 additions & 12 deletions docs/concepts.rst

This file was deleted.

6 changes: 0 additions & 6 deletions docs/concepts/pyfar.plot.rst

This file was deleted.

2 changes: 1 addition & 1 deletion docs/conf.py
Expand Up @@ -129,6 +129,6 @@

# write shortcuts to sphinx readable format
_, shortcuts = pyfar.plot.shortcuts(show=False, report=True, layout="sphinx")
shortcuts_path = os.path.join("concepts", "resources", "plot_shortcuts.rst")
shortcuts_path = os.path.join("resources", "plot_shortcuts.rst")
with open(shortcuts_path, "w") as f_id:
f_id.writelines(shortcuts)
5 changes: 0 additions & 5 deletions docs/index.rst
Expand Up @@ -13,11 +13,6 @@ Getting Started
Documentation
=============

.. toctree::
:maxdepth: 2

concepts

.. toctree::
:maxdepth: 2

Expand Down
File renamed without changes.
65 changes: 0 additions & 65 deletions pyfar/_concepts/plots.py

This file was deleted.

8 changes: 6 additions & 2 deletions pyfar/plot/__init__.py
@@ -1,8 +1,12 @@
# -*- coding: utf-8 -*-

"""
The following documents the pyfar plot functions. Refer to the
:py:mod:`concepts <pyfar._concepts.plots>` for more background information.
The following documents the pyfar plot functions. Make sure to have a look at
the `plotting <https://pyfar-gallery.readthedocs.io/en/latest/gallery/
interactive/pyfar_plotting.html>`_ and `interactive plotting
<https://pyfar-gallery.readthedocs.io/en/latest/gallery/interactive/
pyfar_interactive_plots.html>`_ examples. The latter make use of the pyfar
:py:func:`~pyfar.plot.shortcuts` to quickly explore acoustic signals.
"""

from .line import (
Expand Down
2 changes: 1 addition & 1 deletion pyfar/plot/utils.py
Expand Up @@ -201,7 +201,7 @@ def shortcuts(show=True, report=False, layout="console"):
`Matplotlib backend
<https://matplotlib.org/stable/users/explain/backends.html>`_
.. include:: ../../docs/concepts/resources/plot_shortcuts.rst
.. include:: ../../docs/resources/plot_shortcuts.rst
Parameters
----------
Expand Down

0 comments on commit a253798

Please sign in to comment.