-
-
Notifications
You must be signed in to change notification settings - Fork 491
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trac #33491: fix usage of Matplotlib color maps
Matplotlib used to have a global dictionary of color maps. By now, it is considered internal API and does not contain newer color maps anymore, so some of them cannot be used in Sage: {{{ sage: density_plot(x, (-1,1), (-1,1), cmap='turbo') /usr/lib/python3.10/site- packages/sage/repl/rich_output/display_manager.py:608: RichReprWarning: Exception in _rich_repr_ while displaying object: Color map turbo not known (type import matplotlib.cm; matplotlib.cm.datad.keys() for valid names) }}} URL: https://trac.sagemath.org/33491 Reported by: gh-mwageringel Ticket author(s): Markus Wageringel Reviewer(s): Travis Scrimshaw
- Loading branch information
Showing
1 changed file
with
23 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters