Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Open
Description
Problem
Insunpy
we have come across a case where we want toimshow
and image, and then overplot a circle on top of that image. The circle is bigger than the image, and we want to keep the axes limits to those of the image, so ideally we would like a way to add a patch, without the patch updating the data limits. As far as I can tell this isn't possible currently.
To work around this we are usingadd_artist()
instead ofadd_patch()
, but as I understand from#19290 this might change in the future.
Proposed Solution
ax.plot()
can takescalex, scaley
keywords, that indicate whether the x/y limits are updated, so maybe a similar API foradd_patch()
, or individualPatch
objects would be helpful.