Commit ec7d6024 authored by mwaskom's avatar mwaskom

Fix contour default cmap in examples

parent 325dd755
......@@ -28,7 +28,8 @@ for hemi in ["lh", "rh"]:
curv_bin = (curv.get_data() > 0).squeeze()
# Add the data as a contour overlay, but turn off the colorbar
brain.add_contour_overlay(curv_bin, 0, 1.15, 2, 3, hemi=hemi)
brain.add_contour_overlay(curv_bin, min=0, max=1.5, n_contours=2,
line_width=3, hemi=hemi)
brain.contour_list[-1]["colorbar"].visible = False
......@@ -1249,7 +1249,7 @@ class Brain(object):
self._toggle_render(True, views)
def add_contour_overlay(self, source, min=None, max=None,
n_contours=7, line_width=1.5, colormap="RdBu_r",
n_contours=7, line_width=1.5, colormap="YlOrRd_r",
"""Add a topographic contour overlay of the positive data.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment