Comments (6)
LogNorm
and SymLogNorm
Another point (along comments by @craigmillernz): Adding the possibility for LogNorm
and SymLogNorm
(as in matplotlib/discretize).
from pyvista.
Thanks for opening the issue. As I mentioned on Slack, the idea arose because you mentioned the interactive
keyword, which I meant was about changing the colormap, but turned out to be about changing the appearance/location of the colorbar. Again as I said before, I think in general this is a bad idea (at least for static figures, for the exactly same reasons why jet
etc are bad colormaps), but it can be very useful to explore the dataspace interactively.
from pyvista.
I like the idea of having an interactive way of exploring the colormap and I think this might be a cool side project we could implement for simply creating a matplotlib
colormap which we could support linking to vtki
plots.
Perhaps we could make a new module called icolormap
under @OpenGeoVis?
from pyvista.
Maybe @mycarta, @kwinkunks has experienced already with something similar, maybe some stuff already exists?
They, quite rightly and as I do, tell everyone to use good colormaps. But by doing so, I think they've come along many tools, which might help here. As important as good colormaps are for static figures, I think such an interactive colormap could be very interesting indeed for playing around interactively.
from pyvista.
(The dangers of it are obvious and known. In the Oil & Gas company I worked years ago it was common that we presented an EM inversion result, just so that the commercial managers came over to play around with the colour-bar [not Matlab, but similar feature] until they were satisfied with what they saw. But then, every powerful tool has its dangers if it falls into the wrong hands.)
from pyvista.
I tried to implement the class MidpointNormalize ad hoc to center the color bar, alas without success. Did you get this to work or just an analogy to be implemented? Or has anyone found another solution to this?
I implemented another method adapted from here, but it weighs the smaller values too much, see figure.
from pyvista.
Related Issues (20)
- `black` and `flake8` disagree on code style HOT 3
- pyvista.Plane results in approximate coordinates, slightly off prescribed ones HOT 3
- Add `precision` param for geometric objects to support 64bit float point meshes HOT 1
- pre-commit `mypy` config is not catching errors reliably
- split_bodies() generates a body that has 0 volume HOT 5
- [Feature Request, Camera] enabling parallel projection, roll, elevation, and azimuth in global/custom theme
- export mesh to Cesium (glTF/glb) HOT 11
- Terminal hijacking bug with latex-formatted plot labels HOT 1
- `PyVistaQt` and `MNE-Python` integration tests are failing
- Matplotlib axes instead of show_bounds
- Bounds `axes_range` is not modifiable
- VTKHDF plot in matplotlib
- before_close_callback Error HOT 3
- Wrong legend being add.
- Dataset filter contour not working properly HOT 4
- Missing top-level sphinx py:module reference for pyvista
- Add `autodoc-typehints` to docs.
- Crinkle clip duplicates cells in the unclipped surface
- Update docs for `Plotter.bounds`
- Wireframe visible when drawing a transparent object over a scalar grid
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 pyvista.