Skip to content

[DOC] Tick locators & formatters examples #7084

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 18 commits into from
Sep 22, 2016
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Typo
  • Loading branch information
rougier committed Sep 14, 2016
commit b9e7c533d9560ff3a6dd374b873e402854dfeb7f
2 changes: 1 addition & 1 deletion examples/ticks_and_spines/tick-locators.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def setup(ax):
ax.set_xlim(5, 55)
ax.plot(range(5, 55), [0]*50, color='White')
ax.xaxis.set_major_locator(ticker.IndexLocator(base=5, offset=2))
ax.text(0.0, 0.5, "IndexLocator (base=5, offset=2)",
ax.text(0.0, 0.5, "Index locator (base=5, offset=2)",
fontsize=16, transform=ax.transAxes)

# Auto Locator
Expand Down