Skip to content
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

Problem modifying colorbar properties after using custom LUT #83

Open
mwaskom opened this issue Jan 19, 2014 · 1 comment
Open

Problem modifying colorbar properties after using custom LUT #83

mwaskom opened this issue Jan 19, 2014 · 1 comment
Labels

Comments

@mwaskom
Copy link
Member

mwaskom commented Jan 19, 2014

Just noticed this in the docs I built after the colormap enhancements, sorry.

Turns out that in the probabilistic colormap example, modifying the number of hues and labels on the colorbar reverts the colormap from RdPu, which the code asks for, to Greys, which I chose as the default string to pass to the mlab functions (with the expectation that it would signify problems with the colormap choice by its lack of color).

I'll fix this, I'm just opening the issue because I can't get to it right now.

I actually don't think we're doing anything wrong here; we're using the approved way of specifying a custom colormap. So I think it might be a mayavi bug in communication between the colorbar and the colormap. But at the very least I'll fix the example.

@mwaskom mwaskom added this to the 0.5 Release milestone Mar 2, 2014
@mwaskom
Copy link
Member Author

mwaskom commented Jun 16, 2014

I've fixed the example, but am still not sure how to avoid this behavior. However, it just breaks messing around with the mayavi backend, not anything in the PySurfer interface itself, so I'm not going to consider it blocking 0.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant