Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f3ba478

Browse files
committed
better sequential map for showing contours
1 parent 2df6609 commit f3ba478

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/pylab_examples/contourf_log.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
# Automatic selection of levels works; setting the
3232
# log locator tells contourf to use a log scale:
33-
cs = P.contourf(X, Y, z, locator=ticker.LogLocator())
33+
cs = P.contourf(X, Y, z, locator=ticker.LogLocator(), cmap = cm.PuBu_r)
3434

3535
# Alternatively, you can manually set the levels
3636
# and the norm:

0 commit comments

Comments
 (0)