map zoom function on the user info does not work properly -> needs redraw

Issue #364 wontfix
Jens-Uwe Grooß created an issue

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)

  1. Reimar Bauer

    @grooss have you tried redraw?

    This is how this looks to me after I do a redraw

    topview_Cloud_redraw.png

    I guess without redraw you zoom into the cached data.

  2. Jens-Uwe Grooß 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.

  3. Reimar Bauer

    clear cache is cache cleaning.

    coordination systems are not cleared by this.

    I add a feature request to automate redraw on zoom

  4. Reimar Bauer

    @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.

  5. Anveshan Lal

    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

  6. Log in to comment