Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit84ff764

Browse files
committed
Add missing space, comma and hashes in docs
1 parent7803974 commit84ff764

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

‎examples/images_contours_and_fields/bivariate_demo.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,17 @@
2828

2929
bivariate= [air_temp,surf_pres]
3030

31-
# to distinguish bivariate data either BivariateNorm or BivariateColormap must
31+
###############################################################################
32+
# To distinguish bivariate data either BivariateNorm or BivariateColormap must
3233
# be passed in as argument
34+
3335
cax=ax.imshow(bivariate,norm=colors.BivariateNorm(),
3436
cmap=colors.BivariateColormap())
3537

36-
# if input data is bivariate then colorbar automatically draws colorsquare
38+
###############################################################################
39+
# If input data is bivariate then colorbar automatically draws colorsquare
3740
# instead of colorbar
41+
3842
cbar=fig.colorbar(cax,xlabel='air_temp',ylabel='surf_pres')
3943

4044
plt.show()

‎lib/matplotlib/axes/_axes.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5302,11 +5302,11 @@ def pcolor(self, *args, **kwargs):
53025302
vectors, they will be expanded as needed into the appropriate 2-D
53035303
arrays, making a rectangular grid.
53045304
5305-
cmap : `~matplotlib.colors.Colormap` or
5305+
cmap : `~matplotlib.colors.Colormap` or\
53065306
`matplotlib.colors.BivariateColormap`, optional, default: None
53075307
If `None`, default to rc settings.
53085308
5309-
norm : `matplotlib.colors.Normalize` or
5309+
norm : `matplotlib.colors.Normalize` or\
53105310
`matplotlib.colors.BivariateNorm`, optional, default: None
53115311
An instance is used to scale luminance data to (0, 1).
53125312
If `None`, defaults to :func:`normalize`.
@@ -5575,7 +5575,7 @@ def pcolormesh(self, *args, **kwargs):
55755575
55765576
*cmap*: [ *None* | Colormap ]
55775577
A :class:`matplotlib.colors.Colormap` or
5578-
:class:`matplotlib.colors.BivariateColormap`instance. If *None*,
5578+
:class:`matplotlib.colors.BivariateColormap`instance. If *None*,
55795579
use rc settings.
55805580
55815581
*norm*: [ *None* | Normalize ]

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp