Skip to content

Commit dcef5de

Browse files
committed
Minor fixes to docs and gitignore.
- Replace sphx_glr_ ref by :doc:. - Fix name of backend_driver_sgskip in gitignore (the file was not ignored anyways because git kept track of the rename to _sgskip, but it's a bit confusing to exclude a non-existing file from the gitignore...)
1 parent 38561b9 commit dcef5de

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.gitignore

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,13 @@ doc/tutorials
6767
doc/modules
6868
doc/pyplots/tex_demo.png
6969
lib/dateutil
70+
examples/*/*.eps
7071
examples/*/*.pdf
7172
examples/*/*.png
7273
examples/*/*.svg
73-
examples/*/*.eps
7474
examples/*/*.svgz
7575
examples/tests/*
76-
!examples/tests/backend_driver.py
76+
!examples/tests/backend_driver_sgskip.py
7777
result_images
7878

7979
# Nose/Pytest generated files #

doc/_templates/autosummary.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{ fullname | escape | underline}}
1+
{{ fullname | escape | underline }}
22

33

44
.. currentmodule:: {{ module }}
@@ -27,4 +27,4 @@
2727
<div class="clearer"></div>
2828

2929
{% endif %}
30-
{% endif %}
30+
{% endif %}

lib/mpl_toolkits/axes_grid1/inset_locator.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -400,8 +400,8 @@ def inset_axes(parent_axes, width, height, loc='upper right',
400400
creates in inset axes in the lower left corner of *parent_axes* which spans
401401
over 30%% in height and 40%% in width of the *parent_axes*. Since the usage
402402
of `.inset_axes` may become slightly tricky when exceeding such standard
403-
cases, it is recommended to read
404-
:ref:`the examples <sphx_glr_gallery_axes_grid1_inset_locator_demo.py>`.
403+
cases, it is recommended to read :doc:`the examples
404+
</gallery/axes_grid1/inset_locator_demo>`.
405405
406406
Notes
407407
-----
@@ -540,7 +540,7 @@ def zoomed_inset_axes(parent_axes, zoom, loc='upper right',
540540
borderpad=0.5):
541541
"""
542542
Create an anchored inset axes by scaling a parent axes. For usage, also see
543-
:ref:`the examples <sphx_glr_gallery_axes_grid1_inset_locator_demo2.py>`.
543+
:doc:`the examples </gallery/axes_grid1/inset_locator_demo2>`.
544544
545545
Parameters
546546
----------

0 commit comments

Comments
 (0)