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 ba8bee1

Browse filesBrowse files
authored
Merge pull request #6817 from afvincent/typo_pyplot_scales_demo
DOC: Fix a few typos and formulations
2 parents bae8333 + ebca114 commit ba8bee1
Copy full SHA for ba8bee1

File tree

Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed

‎doc/pyplots/pyplot_scales.py

Copy file name to clipboardExpand all lines: doc/pyplots/pyplot_scales.py
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@
4141
plt.yscale('logit')
4242
plt.title('logit')
4343
plt.grid(True)
44-
# Format the minor tick labels of the y-axis into empty string with
45-
# the `NullFormatter`, to avoid cumbering it with too many labels.
44+
# Format the minor tick labels of the y-axis into empty strings with
45+
# `NullFormatter`, to avoid cumbering the axis with too many labels.
4646
plt.gca().yaxis.set_minor_formatter(NullFormatter())
47-
# Adjust the subplot layout, because the logit one may take more space than
48-
# usual, due to y-tick labels like "1 - 10^3"
47+
# Adjust the subplot layout, because the logit one may take more space
48+
# than usual, due to y-tick labels like "1 - 10^{-3}"
4949
plt.subplots_adjust(top=0.92, bottom=0.08, left=0.10, right=0.95, hspace=0.25,
5050
wspace=0.35)
5151

0 commit comments

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