zwicker-group / py-pde

Python package for solving partial differential equations using finite differences.
https://py-pde.readthedocs.io
MIT License
393 stars 50 forks source link

Allow choosing color maps in `field.plot(kind="rgb")` #524

Closed david-zwicker closed 5 months ago

david-zwicker commented 5 months ago

We currently simply set color channels with scalar fields, but it might be nice to be able to merge fields using actual colormaps and a merging function. We might simply introduce a new plot type called merge, overlay, or something like that, which takes a list of colormaps (and possibly a merging function) to control how the single image is down.