Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up
Bug report
Bug summary
It seems matplotlib.colors.Normalize can work with pandas.Series inputs, whereas LogNorm can't.
Code for reproduction
Actual outcome
Expected outcome
Not sure about what's expected, but if I do
Normalizeinstead ofLogNormit works, if I dolc.set_array(df['dydx'].to_numpy())instead oflc.set_array(df['dydx'])it also works. It's the combination of LogNorm and pd.Series is the problem.Matplotlib version
version 3.1.1
module://ipykernel.pylab.backend_inline