Install nc-time-axis
either with conda
:
conda install -c conda-forge nc-time-axis
Or pip
:
import random import cftime import matplotlib.pyplot as plt import nc_time_axis calendar = "360_day" dt = [ cftime.datetime(year=2017, month=2, day=day, calendar=calendar) for day in range(1, 31) ] temperatures = [round(random.uniform(0, 12), 3) for _ in range(len(dt))] plt.plot(dt, temperatures) plt.margins(0.1) plt.ylim(0, 12) plt.xlabel("Date") plt.ylabel("Temperature") plt.show()
nc-time-axis
is distributed under the terms of the BSD-3-Clause license.
Graphics and Lead Scientist: Ed Hawkins, National Centre for Atmospheric Science, University of Reading.
Data: Berkeley Earth, NOAA, UK Met Office, MeteoSwiss, DWD, SMHI, UoR, Meteo France & ZAMG.
#ShowYourStripes is distributed under a Creative Commons Attribution 4.0 International License
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4