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

Skip to content

Commit 5a01137

Browse files
committed
DOC: add tags to tick locator and formatter examples
1 parent b1683be commit 5a01137

3 files changed

Lines changed: 7 additions & 0 deletions

File tree

galleries/examples/ticks/date_formatters_locators.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,3 +100,5 @@ def plot_axis(ax, locator=None, xmax='2002-02-01', fmt=None, formatter=None):
100100
# - `matplotlib.dates.DateFormatter`
101101
# - `matplotlib.dates.AutoDateFormatter`
102102
# - `matplotlib.dates.ConciseDateFormatter`
103+
#
104+
# .. tags:: component: ticks, purpose: reference

galleries/examples/ticks/tick-formatters.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,3 +103,6 @@ def fmt_two_digits(x, pos):
103103
axs2[6].xaxis.set_major_formatter(ticker.PercentFormatter(xmax=5))
104104

105105
plt.show()
106+
107+
# %%
108+
# .. tags:: component: ticks, purpose: reference

galleries/examples/ticks/tick-locators.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,3 +91,5 @@ def setup(ax, title):
9191
# - `matplotlib.ticker.AutoLocator`
9292
# - `matplotlib.ticker.MaxNLocator`
9393
# - `matplotlib.ticker.LogLocator`
94+
#
95+
# .. tags:: component: ticks, purpose: reference

0 commit comments

Comments
 (0)