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 e40c87b

Browse filesBrowse files
committed
Add missing symbols in docs
1 parent 7803974 commit e40c87b
Copy full SHA for e40c87b

File tree

2 files changed

+11
-7
lines changed
Filter options

2 files changed

+11
-7
lines changed

‎examples/images_contours_and_fields/bivariate_demo.py

Copy file name to clipboardExpand all lines: examples/images_contours_and_fields/bivariate_demo.py
+8-4Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
2-
===========
2+
==============
33
Bivariate Demo
4-
===========
4+
==============
55
66
Plotting bivariate data.
77
@@ -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

Copy file name to clipboardExpand all lines: lib/matplotlib/axes/_axes.py
+3-3Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.