[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[python #ASO-156748]: Error with Cartopy



Greetings!

Can you share the full set of code you ran before this, as well as the full 
error traceback? I don't see any code that should be causing problems in what 
you just sent.

Cheers!

Ryan

> Package Version:
> Operating System:
> Hardware:
> Description of problem: Hello, I am watching Metpy monday #6 for making a 
> basic map with cartopy and when I run the second string of code, I get this 
> error: I get this error:
> TypeError                                 Traceback (most recent call last)
> <ipython-input-11-62f3941ea602> in <module>
> ----> 1 fig = plt.figure(figsize=(10,8))
> 2 ax = fig.add_subplot(1, 1, 1, projection=ccrs.LambertConformal())
> 3
> 4 ax.add_feature(cfeat.LAND)
> 5 ax.add_feature(cfeat.OCEAN)
> 
> TypeError: 'module' object is not callable
> What should I do to correct this type error?
> 


Ticket Details
===================
Ticket ID: ASO-156748
Department: Support Python
Priority: Low
Status: Closed
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.