Commit b1970bd3 authored by syz's avatar syz
Browse files

Popping instead of getting cmap parm

parent 1e2a1e48
......@@ -284,7 +284,7 @@ def rainbow_plot(axis, x_vec, y_vec, num_steps=32, **kwargs):
num_steps : unsigned int (Optional)
Number of discrete color steps
"""
cmap = kwargs.get('cmap', default_cmap)
cmap = kwargs.pop('cmap', default_cmap)
cmap = get_cmap_object(cmap)
pts_per_step = len(y_vec) // num_steps
......
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