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

Skip to content

Commit 573292d

Browse files
authored
Add locator API links to tick-locators example (#25177)
* Add locator API links to tick-locators example Signed-off-by: priyanshi <[email protected]> * Resolve flake8 warning: remove trailing white space at the end of tick-locators.py Signed-off-by: priyanshi <[email protected]> * Added set_minor and set_major functions to the references section in tick-locators.py Signed-off-by: priyanshi <[email protected]> * fixed the error Signed-off-by: priyanshi <[email protected]> * Removed XAxis and YAxis set_ticks_position Signed-off-by: priyanshi <[email protected]> --------- Signed-off-by: priyanshi <[email protected]>
1 parent 250a8bb commit 573292d

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

examples/ticks/tick-locators.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,20 @@ def setup(ax, title):
7474

7575
plt.tight_layout()
7676
plt.show()
77+
78+
# %%
79+
#
80+
# .. admonition:: References
81+
#
82+
# The following functions, methods, classes and modules are used in this example:
83+
#
84+
# - `matplotlib.axis.Axis.set_major_locator`
85+
# - `matplotlib.axis.Axis.set_minor_locator`
86+
# - `matplotlib.ticker.NullLocator`
87+
# - `matplotlib.ticker.MultipleLocator`
88+
# - `matplotlib.ticker.FixedLocator`
89+
# - `matplotlib.ticker.LinearLocator`
90+
# - `matplotlib.ticker.IndexLocator`
91+
# - `matplotlib.ticker.AutoLocator`
92+
# - `matplotlib.ticker.MaxNLocator`
93+
# - `matplotlib.ticker.LogLocator`

0 commit comments

Comments
 (0)