Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOC: Start to document interactive figures #4779

Merged
merged 36 commits into from
May 21, 2020
Merged
Show file tree
Hide file tree
Changes from 32 commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
cfa717a
DOC: Start to document interactive figures
tacaswell Jul 24, 2015
206f99c
DOC: improve text
tacaswell Jul 31, 2015
fa36c95
DOC: address comments
tacaswell Jan 7, 2017
8b28c01
DOC/WIP: updates to docs on how event loops work
tacaswell Jul 28, 2017
7189eed
DOC: add blocking_input docs
tacaswell Dec 28, 2017
98ae26c
WIP: Lots of text changes to interactive guide
tacaswell Dec 28, 2017
6263284
MNT: add warnings to Figure.show
tacaswell Dec 29, 2017
09deda3
DOC: re-arrange shell.rst and interactive.rst
tacaswell Jan 3, 2018
ec4230a
DOC/WIP: more edits and content
tacaswell Jul 10, 2018
d1a7a3e
WIP: more notes
tacaswell Mar 2, 2019
b49973a
DOC: merge the blocking API docs together
tacaswell Apr 28, 2020
bb8058a
DOC: remove rst files that have been merged into interactive.rst
tacaswell Apr 28, 2020
bc4ecd5
DOC: fix and sort intersphinx
tacaswell Apr 28, 2020
49f49fa
DOC: re-write pyplot.show docstring
tacaswell Apr 29, 2020
295d71d
DOC: plt.pause is no longer experimental
tacaswell Apr 29, 2020
c3c5013
DOC: update pyplot documentation
tacaswell Apr 30, 2020
d9df057
DOC: Lots of editing to interactive figure documentation
tacaswell Apr 30, 2020
7b0b327
DOC: it's -> its
tacaswell Apr 30, 2020
5a426d6
DOC: spelling
tacaswell Apr 30, 2020
8ab0a65
DOC: edits from review
tacaswell May 1, 2020
d70d5ad
DOC: update skipped references
tacaswell May 1, 2020
757e040
DOC: correct many spelling / grammer / clarity issues
tacaswell May 3, 2020
b0690ff
DOC: remove badly named and superfluous heading
tacaswell May 7, 2020
cc3ac5b
DOC: address review comments
tacaswell May 7, 2020
afe9edd
DOC: edits from review
tacaswell May 7, 2020
e09cab9
DOC: more small edits
tacaswell May 7, 2020
04f2fc6
DOC: fix spyder spelling
tacaswell May 7, 2020
9d842bf
DOC: edits from review
tacaswell May 7, 2020
41e19a8
MNT: remove unused import
tacaswell May 7, 2020
eda2ed3
DOC: edits from review
tacaswell May 9, 2020
7cf68e8
DOC: remove non-existent function call
tacaswell May 9, 2020
bfa3589
DOC: edits and duplicate removal
tacaswell May 9, 2020
6edcb47
DOC: windows not widows
tacaswell May 9, 2020
9b492bd
DOC: Revert all changes to blocking_input_api.rst
tacaswell May 9, 2020
6d4747f
DOC: reduce jargon and correct grammar
tacaswell May 20, 2020
f05ea3d
DOC: grammar / wording corrections from review
tacaswell May 20, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc/api/blocking_input_api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
*****************************

.. automodule:: matplotlib.blocking_input
:members:
:undoc-members:
:no-members:
:no-undoc-members:
:show-inheritance:
5 changes: 3 additions & 2 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,13 +114,14 @@ def _check_dependencies():
missing_references_warn_unused_ignores = False

intersphinx_mapping = {
'python': ('https://docs.python.org/3', None),
'Pillow': ('https://pillow.readthedocs.io/en/stable/', None),
'cycler': ('https://matplotlib.org/cycler', None),
'dateutil': ('https://dateutil.readthedocs.io/en/stable/', None),
'ipykernel': ('https://ipykernel.readthedocs.io/en/latest/', None),
'numpy': ('https://docs.scipy.org/doc/numpy/', None),
'pandas': ('https://pandas.pydata.org/pandas-docs/stable/', None),
'Pillow': ('https://pillow.readthedocs.io/en/stable/', None),
'pytest': ('https://pytest.org/en/stable', None),
'python': ('https://docs.python.org/3', None),
'scipy': ('https://docs.scipy.org/doc/scipy/reference/', None),
}

Expand Down
8 changes: 4 additions & 4 deletions doc/devel/documenting_mpl.rst
Original file line number Diff line number Diff line change
Expand Up @@ -304,12 +304,12 @@ Including figures and files
---------------------------

Image files can directly included in pages with the ``image::`` directive.
e.g., :file:`users/navigation_toolbar.rst` displays the toolbar icons
with a call to a static image::
e.g., :file:`thirdpartypackages/index.rst` displays the images for the third-party
packages as static images::

.. image:: ../_static/toolbar.png
.. image:: /_static/toolbar.png

as rendered on the page: :ref:`navigation-toolbar`.
as rendered on the page: :ref:`thirdparty-index`.

Files can be included verbatim. For instance the ``matplotlibrc`` file
is important for customizing Matplotlib, and is included verbatim in the
Expand Down
21 changes: 21 additions & 0 deletions doc/missing-references.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
{
"c:var": {
"PyOS_InputHook": [
"doc/users/interactive_guide.rst:401",
"doc/users/interactive_guide.rst:411"
]
},
"py:attr": {
"ax": [
"lib/mpl_toolkits/axes_grid1/colorbar.py:docstring of mpl_toolkits.axes_grid1.colorbar.ColorbarBase:23"
Expand Down Expand Up @@ -453,6 +459,9 @@
"FigureCanvasQTAgg.print_figure": [
"doc/api/prev_api_changes/api_changes_2.2.0.rst:199"
],
"IPython.terminal.interactiveshell.TerminalInteractiveShell.inputhook": [
"doc/users/interactive_guide.rst:428"
],
"_find_tails": [
"lib/matplotlib/quiver.py:docstring of matplotlib.quiver.Barbs:9"
],
Expand Down Expand Up @@ -521,6 +530,9 @@
]
},
"py:mod": {
"IPython.terminal.pt_inputhooks": [
"doc/users/interactive_guide.rst:428"
],
"dateutil": [
"lib/matplotlib/dates.py:docstring of matplotlib.dates:1"
],
Expand Down Expand Up @@ -562,6 +574,9 @@
"./gallery/index.html": [
"doc/devel/contributing.rst:562"
],
"Artist.stale_callback": [
"doc/users/interactive_guide.rst:326"
],
"Artist.sticky_edges": [
"doc/api/axes_api.rst:362:<autosummary>:1",
"lib/matplotlib/axes/_axes.py:docstring of matplotlib.axes.Axes.use_sticky_edges:2"
Expand Down Expand Up @@ -640,6 +655,9 @@
"doc/gallery/misc/ftface_props.rst:16",
"lib/matplotlib/font_manager.py:docstring of matplotlib.font_manager.ttfFontProperty:8"
],
"Figure.stale_callback": [
"doc/users/interactive_guide.rst:336"
],
"FigureCanvas": [
"lib/matplotlib/backend_tools.py:docstring of matplotlib.backend_tools.ToolBase:25"
],
Expand Down Expand Up @@ -966,6 +984,9 @@
"invert_yaxis": [
"lib/mpl_toolkits/mplot3d/axes3d.py:docstring of mpl_toolkits.mplot3d.axes3d.Axes3D.get_ylim3d:24"
],
"ipykernel.pylab.backend_inline": [
"doc/users/interactive.rst:249"
],
"kde.covariance_factor": [
"lib/matplotlib/mlab.py:docstring of matplotlib.mlab.GaussianKDE:41"
],
Expand Down