Comments (14)
@RebeccaWPerry, any interest in tackling this? Should be a one-line fix once the best alternative colormap is chosen.
from trackpy.
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?
from trackpy.
I'm hoping for a video too. Meanwhile, keep an eye on matplotlib/matplotlib#3223. The world needs your slides, @kthyng. :- D
from trackpy.
May I just say a word in defense of cm.winter
? I've found it to be the best colormap in matplotlib when color conveys the least important information in the figure. But plot_traj
is not such a case.
Just wanted to make sure no colormaps have their feelings hurt today.
from trackpy.
from trackpy.
from trackpy.
Thanks, @dmcdougall.
from trackpy.
Oh and I'm working on writing up a "colormaps guide" for that matplotlib
issue! Things are moving along... slowly. :)
On Wed, Jul 16, 2014 at 9:59 PM, Dan Allan [email protected] wrote:
Thanks, @dmcdougall https://github.com/dmcdougall.
—
Reply to this email directly or view it on GitHub
#124 (comment).
Kristen M. Thyng
Postdoctoral Research Associate
Department of Oceanography
Texas A&M University
http://kristenthyng.com
from trackpy.
I hope to look at colormaps for this specific plot_traj case this weekend... Sunday maybe.
from trackpy.
Dan, is your scipy2014 presentation notebook posted somewhere? I'd like to test colormaps using it.
from trackpy.
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?
from trackpy.
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
from trackpy.
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.
from trackpy.
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.
from trackpy.
Related Issues (20)
- Pandas ValueError when calling subtract_drift HOT 1
- How to find number of pixels in blob
- object has no attribute 'long_name' (when inspecting 'frame') HOT 2
- tp.emsd TypeError: mean() got an unexpected keyword argument 'level' HOT 7
- Working on a napari-trackpy plugin HOT 1
- TST: Weird dtype switching on Windows HOT 2
- link_df_iter giving TypeError when using pd.concat?
- level keyword argument was removed in pandas>2.0 HOT 1
- Release v0.6.2 HOT 5
- Tutorial shows problem using latest pandas HOT 2
- Linking using multiple HDF5 files. HOT 1
- Use pims.as_grey instead of image[:, :, 1] in walkthrough tutorial.
- Old Python version in installation instructions
- TST: Need to replace a GitHub action
- tp.batch does not perform batch correctly (all frames output as 0) HOT 3
- Error in trackpy.emsd() function: TypeError: mean() got an unexpected keyword argument 'level' HOT 5
- `plot_traj3d` throws error
- Locate only within specific ROI HOT 2
- [Question] methods for initial estimation of `minmass` HOT 1
- [Enhancement] Allowing possibility to convert raw image to `uint16`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trackpy.