Skip to content

Commit f205b17

Browse files
jklymakmeeseeksmachine
authored andcommitted
Backport PR #21887: Make figure target links relative
1 parent 5192152 commit f205b17

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

doc/users/prev_whats_new/whats_new_3.4.0.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ New automatic labeling for bar charts
166166
A new `.Axes.bar_label` method has been added for auto-labeling bar charts.
167167

168168
.. figure:: /gallery/lines_bars_and_markers/images/sphx_glr_bar_label_demo_001.png
169-
:target: /gallery/lines_bars_and_markers/bar_label_demo.html
169+
:target: ../../gallery/lines_bars_and_markers/bar_label_demo.html
170170

171171
Example of the new automatic labeling.
172172

@@ -396,7 +396,7 @@ style. This can be used to, e.g., distinguish the valid and invalid sides of
396396
the constraint boundaries in the solution space of optimizations.
397397

398398
.. figure:: /gallery/misc/images/sphx_glr_tickedstroke_demo_002.png
399-
:target: /gallery/misc/tickedstroke_demo.html
399+
:target: ../../gallery/misc/tickedstroke_demo.html
400400

401401

402402
Colors and colormaps
@@ -702,7 +702,7 @@ The new `.Text` parameter ``transform_rotates_text`` now sets whether rotations
702702
of the transform affect the text direction.
703703

704704
.. figure:: /gallery/text_labels_and_annotations/images/sphx_glr_text_rotation_relative_to_line_001.png
705-
:target: /gallery/text_labels_and_annotations/text_rotation_relative_to_line.html
705+
:target: ../../gallery/text_labels_and_annotations/text_rotation_relative_to_line.html
706706

707707
Example of the new *transform_rotates_text* parameter
708708

@@ -726,7 +726,7 @@ for each individual text element in a plot. If no parameter is set, the global
726726
value :rc:`mathtext.fontset` will be used.
727727

728728
.. figure:: /gallery/text_labels_and_annotations/images/sphx_glr_mathtext_fontfamily_example_001.png
729-
:target: /gallery/text_labels_and_annotations/mathtext_fontfamily_example.html
729+
:target: ../../gallery/text_labels_and_annotations/mathtext_fontfamily_example.html
730730

731731
``TextArea``/``AnchoredText`` support *horizontalalignment*
732732
-----------------------------------------------------------
@@ -860,7 +860,7 @@ its entirety, supporting features such as custom styling for error lines and
860860
cap marks, control over errorbar spacing, upper and lower limit marks.
861861

862862
.. figure:: /gallery/mplot3d/images/sphx_glr_errorbar3d_001.png
863-
:target: /gallery/mplot3d/errorbar3d.html
863+
:target: ../../gallery/mplot3d/errorbar3d.html
864864

865865
Stem plots in 3D Axes
866866
---------------------

doc/users/prev_whats_new/whats_new_3.5.0.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ happens. The default is the current behaviour of "data", with the alternative
173173
being "rgba" for the newly-available behavior.
174174

175175
.. figure:: /gallery/images_contours_and_fields/images/sphx_glr_image_antialiasing_001.png
176-
:target: /gallery/images_contours_and_fields/image_antialiasing.html
176+
:target: ../../gallery/images_contours_and_fields/image_antialiasing.html
177177

178178
Example of the interpolation stage options.
179179

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy