matplotlib-basemap

Is it possible to control matplotlib marker orientation?

Is it possible to control matplotlib marker orientation? Question: If I have a triangular marker, is it possible to control its orientation? I have a series of facets, with their corresponding vertices, and I would like to plot a basemap of them. I know it is straightforward script when using Mayavi and tvtk.PolyData. But since …

Total answers: 5

plt.savefig(): ValueError: All values in the dash list must be positive

plt.savefig(): ValueError: All values in the dash list must be positive Question: Running the code at the below link results in the error. As far as having something to do with the image, I don’t know what the ‘dash list’ is. matplotlib.pyplot as plt … plt.savefig(‘tutorial10.png’,dpi=300) Segment of the returned error: ————————————————————————— ValueError Traceback (most …

Total answers: 2

why does my colorbar have lines in it?

why does my colorbar have lines in it? Question: Edit: Since this seems to be a popular post, here’s the solution that seems to be working well for me. Thanks @gazzar and @mfra. cbar.solids.set_rasterized(True) cbar.solids.set_edgecolor(“face”) Does anyone know why my colorbar has what appear to be lines in it? Or rather why is the color …

Total answers: 7