Skip to content

Commit ba8bee1

Browse 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

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/pyplots/pyplot_scales.py

+4-4
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)