Skip to content

Instantly share code, notes, and snippets.

View cccruzr's full-sized avatar
🎶
Discovering

Camilo Cruz cccruzr

🎶
Discovering
View GitHub Profile
# create a new figure
plt.figure()
# plot the dataframe temperatures
plt.plot(drange, df_max_05_14_day['Data_Value'], label='Max temperature (2005-2014)', lw=0.4, color='tab:red', alpha=0.5)
plt.plot(drange, df_min_05_14_day['Data_Value'], label='Min temperature (2005-2014)', lw=0.4, color='tab:blue', alpha=0.5)
# Format the axes
ax = plt.gca()
@cccruzr
cccruzr / .block
Last active September 20, 2017 13:06
D3: Adding new data to column chart
license: cc-by-sa-4.0
border: no
@cccruzr
cccruzr / .block
Last active June 23, 2017 09:01
Leaflet change tile service on zoom
license: mit
@cccruzr
cccruzr / .block
Last active June 23, 2017 14:48
Dimple.js simple time chart
license: mit
@cccruzr
cccruzr / Readme.md
Last active July 18, 2023 09:30
Leaflet.js multiple basemap tiles example

Leaflet.js multiple basemap tiles example

This is an example of using multiple basemap tiles on Leaflet.

The detailed explanation can be found on my blog.

Camilo Cruz, 2017.