[Bug]: regression with ScalarMappable and .set_array
and autoscale_None
#20902
Milestone
.set_array
and autoscale_None
#20902
Uh oh!
There was an error while loading. Please reload this page.
Bug summary
We are creating manual
ScalarMappable
instances in some cases where colorbar creation is detached from the plotting event. Changed in #20511 an element-wise comparison of the color array is made, however, withScalarMappable.set_array
there appears to be no assurances that the._A
attribute will support such comparison.Code for reproduction
Actual outcome
Expected outcome
No error.
Operating system
Ubuntu
Matplotlib Version
3.4.3
Matplotlib Backend
agg
Python version
3.7.10
Jupyter version
NA
Other libraries
numpy 1.18.5
Installation
conda
Conda channel
conda-forge
The text was updated successfully, but these errors were encountered: