Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update doc/users/prev_whats_new/whats_new_3.10.0.rst
Co-authored-by: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com>
  • Loading branch information
trygvrad and timhoffm authored Jan 17, 2025
commit 1d98f42ebcadfafff6792de34e6a771ee7148a74
2 changes: 1 addition & 1 deletion doc/users/prev_whats_new/whats_new_3.10.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ the ``set_data`` method, enabling e.g. resampling
Added ``matplotlib.colorizer.Colorizer`` as a container for ``norm`` and ``cmap``
-------------------------------------------------------------------------------

Plotting methods that support the ``norm`` and ``cmap`` keywords now additionally accepts the ``colorizer`` keyword supporting `matplotlib.colorizer.Colorizer` objects. This allows for easier re-use of a data-to-color pipeline.
`matplotlib.colorizer.Colorizer` encapsulates the data-to-color pipeline. It makes reuse of colormapping easier, e.g. across multiple images. Plotting methods that support ``norm`` and ``cmap`` keyword arguments now also accept a ``colorizer`` keyword argument.
Comment thread
trygvrad marked this conversation as resolved.
Outdated

In the following example the norm and cmap are changed on multiple plots simultaneously:

Expand Down