map zoom function on the user info does not work properly -> needs redraw
When using the zoom button that should create a zoomed-in map the figures are not displayed properly. Neather the color bar is placed correctly not the line widths are adapted. Also the plot after a new retrieve ov the image, the plot looks totally wrong
in the attached example figures there is 1. global cylindric view 2. zoom into hemispheric subset 3. after a new retrieve 4. further zoom in 5. after a new retrieve
Comments (13)
-
-
-
@grooss have you tried redraw?
This is how this looks to me after I do a redraw
I guess without redraw you zoom into the cached data.
-
Please check if this is working
- disable auto update
- zoom in
- redraw
- retrieve
-
btw. we have to verify if the same issue happens with the viewed data if you move the view
-
reporter redraw does work indeed correctly.
But "clear cache" followed by "retrieve" does not. So something with the cache is not, how it should be, but I think, we can close this issue.
-
clear cache is cache cleaning.
coordination systems are not cleared by this.
I add a feature request to automate redraw on zoom
-
reporter - changed status to resolved
issue seems to be solved by using the REDRAW button instead of the RETRIVE button
-
- changed title to map zoom function on the user info does not work properly -> needs redraw
- marked as enhancement
- changed milestone to 1.8.0
We have to redraw always if zoomed into a dataset
so we can do this automaticly
-
- changed status to new
-
@grooss I reopened as feature to automate this.
Why should a user always do know to click redraw. I guess if we won't work on this, there will be more questions.
and "resolve" is a different meaning.
-
I've implemented the zoom feature on cartopy, the axes and gridlines were able to readjust normally.
import cartopy.crs as ccrs import matplotlib.pyplot as plt plt.figure(figsize=(5.12985642927, 3)) ax = plt.axes(projection=ccrs.PlateCarree(central_longitude=-35)) ax.set_extent([0, 50, -4, 10], crs=ccrs.PlateCarree()) ax.coastlines(resolution='110m') gl = ax.gridlines(crs=ccrs.PlateCarree(), draw_labels=True, linewidth=1, color='gray', alpha=0.5, linestyle='-')
The issue should resolve after refactoring to cartopy package
-
- changed status to wontfix
this will become fixed after refactoring to cartopy
- Log in to comment
@grooss please add images next time