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

[python #KPO-566084]: Unable to plot SKEW-T in google CoLabs



Greetings!

This is most likely because Colab is running an older version of Matplotlib. 
MetPy 1.2.0 requires Matplotlib >=3.3 (this *should* have been taken care of 
when installing MetPy, but clearly it didn't). You can check your version of 
matplotlib with either:

  %pip list matplotlib

or

  import matplotlib
  print matplotlib.__version__

Regardless, the solution is to either roll back to an older MetPy release (like 
1.1.0) or upgrade matplotlib with:

  %pip install --upgrade matplotlib>=3.3

Hope this helps!

Ryan

> Package Version: 1.2.0
> Operating System: Google CoLabs via Windows 11/Chrome
> Hardware:
> Description of problem: Attempting to plot SKEW-T of archived sounding data 
> from UWYO server using metpy. When attempting to create Skew T figure metpy 
> raises an error claiming the positional argument label is missing. Attempting 
> to add a label leads to the system not recognizing the argument and raising 
> another error. This only occurs in google colabs. This was not an issue in 
> jupyter notebook only in google colabs.


Ticket Details
===================
Ticket ID: KPO-566084
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.