[Matplotlib-users] Problem extending a custom colormap

2014-11-03 Thread Damien Irving
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

[Matplotlib-users] Problem with subplot / matplotlib.dates interaction

2012-08-14 Thread Damien Irving
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

[Matplotlib-users] Bug in contour plotting on 'cyl' basemap

2012-07-29 Thread Damien Irving
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