Skip to content

Make figure target links relative #21887

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

Merged
merged 1 commit into from
Dec 9, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions doc/users/prev_whats_new/whats_new_3.4.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ New automatic labeling for bar charts
A new `.Axes.bar_label` method has been added for auto-labeling bar charts.

.. figure:: /gallery/lines_bars_and_markers/images/sphx_glr_bar_label_demo_001.png
:target: /gallery/lines_bars_and_markers/bar_label_demo.html
:target: ../../gallery/lines_bars_and_markers/bar_label_demo.html

Example of the new automatic labeling.

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

.. figure:: /gallery/misc/images/sphx_glr_tickedstroke_demo_002.png
:target: /gallery/misc/tickedstroke_demo.html
:target: ../../gallery/misc/tickedstroke_demo.html


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

.. figure:: /gallery/text_labels_and_annotations/images/sphx_glr_text_rotation_relative_to_line_001.png
:target: /gallery/text_labels_and_annotations/text_rotation_relative_to_line.html
:target: ../../gallery/text_labels_and_annotations/text_rotation_relative_to_line.html

Example of the new *transform_rotates_text* parameter

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

.. figure:: /gallery/text_labels_and_annotations/images/sphx_glr_mathtext_fontfamily_example_001.png
:target: /gallery/text_labels_and_annotations/mathtext_fontfamily_example.html
:target: ../../gallery/text_labels_and_annotations/mathtext_fontfamily_example.html

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

.. figure:: /gallery/mplot3d/images/sphx_glr_errorbar3d_001.png
:target: /gallery/mplot3d/errorbar3d.html
:target: ../../gallery/mplot3d/errorbar3d.html

Stem plots in 3D Axes
---------------------
Expand Down
2 changes: 1 addition & 1 deletion doc/users/prev_whats_new/whats_new_3.5.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ happens. The default is the current behaviour of "data", with the alternative
being "rgba" for the newly-available behavior.

.. figure:: /gallery/images_contours_and_fields/images/sphx_glr_image_antialiasing_001.png
:target: /gallery/images_contours_and_fields/image_antialiasing.html
:target: ../../gallery/images_contours_and_fields/image_antialiasing.html

Example of the interpolation stage options.

Expand Down