Hi,
I've been following the discussions about the new default colormaps.
I think it might be really helpful if the default behaviour were that
matplotlib simply examined your data (Z, say), and if
(1) Z.max() Z.min() had the same sign then used a sequential colormap
whereas if
(2) Z.max()
Such as example below. I want to put a new ax at data coordinates
[(45,45),(50,50)], but the transform fail to transform data coordinates to
axes.
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import matplotlib as mpl
from matplotlib.backends.backend_pdf import PdfPages
This has been discussed and the consensus was that getting the heuristics
right is probably impossible (I work with dark-current subtracted image
data so it can have negative values, but using a diverging color map is
_very_ wrong, taking 0 as the center only makes sense some of the time).