Skip to content

Instantly share code, notes, and snippets.

View 4rachelgreen's full-sized avatar

Rachel Green 4rachelgreen

View GitHub Profile
@Hugoch
Hugoch / mpl.py
Last active November 28, 2020 17:43
Plot flight data with matplolib
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import numpy as np
import pandas as pd
from mpl_toolkits.basemap import Basemap
import matplotlib.pyplot as plt
from matplotlib.colors import Normalize, LinearSegmentedColormap, PowerNorm
@jqtrde
jqtrde / modern-geospatial-python.md
Last active January 6, 2026 11:44
Modern remote sensing image processing with Python
@thriveth
thriveth / CBcolors.py
Created January 22, 2014 14:52
A color blind/friendly color cycle for Matplotlib line plots. Might want to shuffle it around a bit more,but already not it gives kinda good contrasts between subsequent colors, and shows reasonably well in colorblind filters (though not in pure monochrome).
CB_color_cycle = ['#377eb8', '#ff7f00', '#4daf4a',
'#f781bf', '#a65628', '#984ea3',
'#999999', '#e41a1c', '#dede00']