MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / autoscale_None

Method autoscale_None

lib/matplotlib/colorizer.py:203–212  ·  view source on GitHub ↗

Autoscale the scalar limits on the norm instance using the current array, changing only limits that are None

(self, A)

Source from the content-addressed store, hash-verified

201 self.norm.autoscale(A)
202
203 def autoscale_None(self, A):
204 """
205 Autoscale the scalar limits on the norm instance using the
206 current array, changing only limits that are None
207 """
208 if A is None:
209 raise TypeError('You must first set_array for mappable')
210 # If the norm's limits are updated self.changed() will be called
211 # through the callbacks attached to the norm
212 self.norm.autoscale_None(A)
213
214 def _set_cmap(self, cmap):
215 """

Callers 3

_scale_normMethod · 0.95
autoscale_NoneMethod · 0.45
set_arrayMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected