-
Notifications
You must be signed in to change notification settings - Fork 131
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
Choose a better default colormap in plot_traj. #124
Comments
@RebeccaWPerry, any interest in tackling this? Should be a one-line fix once the best alternative colormap is chosen. |
Sure-- have you found her slides online? Someone asked her to commit it as documentation to matplotlib. Or maybe her video will be up soon? |
I'm hoping for a video too. Meanwhile, keep an eye on matplotlib/matplotlib#3223. The world needs your slides, @kthyng. :- D |
May I just say a word in defense of Just wanted to make sure no colormaps have their feelings hurt today. |
Thanks, @dmcdougall. |
Oh and I'm working on writing up a "colormaps guide" for that matplotlib On Wed, Jul 16, 2014 at 9:59 PM, Dan Allan notifications@github.com wrote:
Kristen M. Thyng |
I hope to look at colormaps for this specific plot_traj case this weekend... Sunday maybe. |
Dan, is your scipy2014 presentation notebook posted somewhere? I'd like to test colormaps using it. |
So plot_traj optionally colors by frame or by particle. I think we might want different colormaps for these different applications. When coloring by frame, I like the idea of a monochrome colormap that appears to brighten as time progresses. For coloring by particle, I would like lots of very different colors. Thoughts? |
I haven't put my presentation notebook online because of its weird dependencies (a PR branch of IPython, mpld3 master, trackpy master). But it is basically a stripped down version of the walkthrough notebook |
I agree. The current behavior is the winter colormap for color-by-frame and the default color cycle (however it is set up) for color-by-particle. |
One thing I found useful was a combination of the two, use the colored monochrome color maps with time being what sets the color and then cycling through the color maps on a per-particle basis. |
Thanks to Kristen Thyng's talk at SciPy 2014 (not yet online) I now know that
cm.winter
is the very worst colormap in matplotlib, perceptually speaking. It should not be the default for coloring-by-time intrackpy.plots.plot_traj
.The text was updated successfully, but these errors were encountered: