'Gridlineerror with Cartopy

I used this line thousend times:

    gl= ax.gridlines(crs=ccrs.PlateCarree(), draw_labels=True,
              linewidth=1, color='gray', alpha=0.5, linestyle='--')

for different plots. Now i wanted to replot some stuff and get the following error.

TypeError: Cannot label gridlines on a Orthographic plot.  Only PlateCarree and Mercator plots are currently supported.

Are there same change in the label routine?



Solution 1:[1]

I only reinstall my conda environment it finally works

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 S.Kociok