Skip to content

Commit e3bc6a3

Browse files
authored
Merge pull request #31759 from timhoffm/examples-ticks-date
DOC: Move "Date tick labels" example from "Texts" to "Ticks"
2 parents 6920100 + 3785834 commit e3bc6a3

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

galleries/examples/text_labels_and_annotations/date.py renamed to galleries/examples/ticks/date.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
rotate the tick labels. The last ``Axes`` formats the dates manually, using
2121
`~.dates.DateFormatter` to format the dates using the format strings documented
2222
at `datetime.date.strftime`.
23+
24+
.. redirect-from:: /gallery/text_labels_and_annotations/date
2325
"""
2426

2527
import matplotlib.pyplot as plt

galleries/users_explain/quick_start.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ def my_plotter(ax, data1, data2, param_dict):
457457

458458
# %%
459459
# For more information see the date examples
460-
# (e.g. :doc:`/gallery/text_labels_and_annotations/date`)
460+
# (e.g. :doc:`/gallery/ticks/date`)
461461
#
462462
# For strings, we get categorical plotting (see:
463463
# :doc:`/gallery/lines_bars_and_markers/categorical_variables`).

lib/matplotlib/dates.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
2121
.. seealso::
2222
23-
- :doc:`/gallery/text_labels_and_annotations/date`
23+
- :doc:`/gallery/ticks/date`
2424
- :doc:`/gallery/ticks/date_concise_formatter`
2525
- :doc:`/gallery/ticks/date_demo_convert`
2626

0 commit comments

Comments
 (0)