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

Commit33cd323

Browse files
committed
Follow sphinx gallery format for comments in example
1 parent7803974 commit33cd323

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
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()

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp