0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

【xarray】cftime型時間座標を持つ時系列のプロット

Posted at

vscodeのinteractive windowにおける話です。他の環境ではそもそも同じような問題が生じるのか、この方法で問題が解決するのかわかりません。

概要

時間座標のデータ型がcftime.datetimeである1次元xarray.DataArrayのプロットがしたい場合を想定しています。この時、 はじめに1度、xarray.DataArray.plot()でプロットを行う ことで、それ以降、plt.plot(x,y)ax.plot(x,y)でのプロットも可能になります。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?