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
Flakify
  • Loading branch information
rougier committed Sep 14, 2016
commit 9cbbc47ced1d23d46fd31d81d50e6c130a28a1c8
3 changes: 2 additions & 1 deletion examples/ticks_and_spines/tick-locators.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ def setup(ax):
ax.set_xlim(10**3, 10**10)
ax.set_xscale('log')
ax.xaxis.set_major_locator(ticker.LogLocator(base=10.0, numticks=15))
ax.text(0.0, 0.5, "LogLocator(base=10, numticks=15)", fontsize=15, transform=ax.transAxes)
ax.text(0.0, 0.5, "LogLocator(base=10, numticks=15)",
fontsize=15, transform=ax.transAxes)

plt.tight_layout()
# plt.savefig("tick-locators.pdf")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Won't need these.

Expand Down