-
Notifications
You must be signed in to change notification settings - Fork 21
Shift between axis frame and ticks / image #28
Comments
I had a similar issue, I tracked it down to changeset 2a6f05e, lines 109-110 of frame.py: if self._update_cache == [xmin, xmax, ymin, ymax]:
return
self._update_cache = [xmin, xmax, ymin, ymax]
self._sample_cache = {} If this logic is removed, then I get the correct behavior. @cdeil can you try verifying this for what you saw? @ChrisBeaumont any ideas? |
Ah interesting, I wonder if this is an issue related to how figures are rendered into the notebook. I'll investigate |
@ChrisBeaumont - it looks like |
Since this is obviously broken on the notebook, I think the short term solution is to drop the caching stuff (setting |
@ChrisBeaumont Thanks for fixing this ... |
I wanted to try out
wcsaxes
, so I pasted the examples from the docs into a notebook (located here.As you can see the axis frame is often shifted from the ticks and image, i.e. it doesn't work for me (wcsaxes version a44c658, matplotlib version 1.3.1).
@astrofrog Do you plan to maintain the WCSAxes Demo notebook?
If yes, could you include a command to download the example FITS files (or include them in the notebook if that is possible) so that one can start playing with
wcsaxes
?cc @anizami
The text was updated successfully, but these errors were encountered: