Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit cce3ef4

Browse filesBrowse files
authored
Merge pull request #13697 from anntzer/pyplot_scales
Delete pyplot_scales example.
2 parents b9bb208 + 8150727 commit cce3ef4
Copy full SHA for cce3ef4

File tree

Expand file treeCollapse file tree

2 files changed

+3
-82
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+3
-82
lines changed

‎examples/pyplots/pyplot_scales.py

Copy file name to clipboardExpand all lines: examples/pyplots/pyplot_scales.py
-82Lines changed: 0 additions & 82 deletions
This file was deleted.

‎examples/scales/scales.py

Copy file name to clipboardExpand all lines: examples/scales/scales.py
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
The last two examples are examples of using the ``'function'`` scale by
99
supplying forward and inverse functions for the scale transformation.
1010
"""
11+
1112
import numpy as np
1213
import matplotlib.pyplot as plt
1314
from matplotlib.ticker import NullFormatter, FixedLocator
@@ -54,6 +55,8 @@
5455
ax.set_yscale('logit')
5556
ax.set_title('logit')
5657
ax.grid(True)
58+
# Format the minor tick labels of the y-axis into empty strings with
59+
# `NullFormatter`, to avoid cumbering the axis with too many labels.
5760
ax.yaxis.set_minor_formatter(NullFormatter())
5861

5962

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.