New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

colormap need user level func to set colorindices #1484

doutriaux1 opened this Issue Aug 7, 2015 · 0 comments


None yet
1 participant

doutriaux1 commented Aug 7, 2015

Bill Hayes reported:

v = vcs.init()
cm = v.createcolormap('cm', 'default')
cm.color = 0, 99,99,99     # does NOT set the color  (but does not error)

However the following works to set and get values:

cm.index[0] = [99,99,99]   # this works
cm.index[0]    # returns the RGB list

THe user here is using internal/private functions
The correct call is


However, since 2.2 graphic methods are allowed to have their own colormap so we should have actual function on the colormap object to set the colors (rather that the private ones only)

@doutriaux1 doutriaux1 self-assigned this Aug 7, 2015

@doutriaux1 doutriaux1 added this to the 2.3 milestone Aug 7, 2015

doutriaux1 added a commit that referenced this issue Sep 18, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment