[Matplotlib-users] detect axes belonging to a colorbar
ben.v.root at gmail.com
Fri Aug 19 10:26:26 EDT 2016
No, I don't think there is a way, really. From the perspective of the
figure object, the colorbar looks just like another axes object. There
might be a trick that might work in some cases, but they would be highly
fragile. It would be better to just capture the colorbar object directly,
On Wed, Aug 17, 2016 at 5:01 AM, <aeuii at posteo.de> wrote:
> I would like to iterate over fig.axes and apply some changes to regular
> axes and skip those belonging to colorbars.
> What's the best way (having only fig object) to detect if an axis
> belongs to a colorbar or not?
> Thanks for an advice.
> Best regards,
> Matplotlib-users mailing list
> Matplotlib-users at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Matplotlib-users