I often like to define my own colormaps using hex strings, e.g.
hex_list = ['#FFF295', '#FFD555', '#FF850B', '#D55000', '#D5', '#550040',
'#600080', '#80', '#D5', '#0B85FF', '#55AAFF', '#95CAFF']
However, when I pass them to contourf and try to extend the colorbar...
plt.contourf(x, y
I've been plotting timeseries data using the matplotlib.dates module and have
come across an issue when using it in conjunction with the subplot command.
For figures with greater than one subplot in a particular column, the time (or
x) axis ticks and their labels are only printed on the final
When using an equidistant cylindrical projection over a selected
subregion of the globe, e.g. map =
Basemap(llcrnrlon=50,llcrnrlat=-80,urcrnrlon=300,urcrnrlat=70,projection='cyl'),
any contour plot that I try and generate (i.e. any plot generated using the
map.contour()
function) cannot plot a