Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8164006

Browse files
committed
DOC: Fix duplicate redirect
The example /gallery/pyplots/dollar_ticks is included into the artists tutorial. #24054 Moved that example and added a `.. redirect-from::` directive. This was then duplicated by the include. This PR fixes the issue by moving the include start point after the redirect.
1 parent 5093150 commit 8164006

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorials/intermediate/artists.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -717,5 +717,5 @@ class in the Matplotlib API, and the one you will be working with most
717717
#
718718
#
719719
# .. include:: ../../gallery/ticks/dollar_ticks.rst
720-
# :start-after: y-axis labels.
720+
# :start-after: .. redirect-from:: /gallery/pyplots/dollar_ticks
721721
# :end-before: .. admonition:: References

0 commit comments

Comments
 (0)