Re: [Matplotlib-users] markers with same size in legend box

2014-10-24 Thread Sterling Smith
Your solution is about as good as proxy artists in legends, which would be the official method. (Google proxy artist matplotlib.) It may be relevant that you can access the marker of the legend entries with the _marker attribute of the handles. Search the mailing list archives for this one.

Re: [Matplotlib-users] markers with same size in legend box

2014-10-24 Thread Tommy Carstensen
Thanks for feedback Thomas and Sterling. Here is the ugly solution I ended up with: # plot a marker with a blank label map.plot(x, y, 'o', markersize=markersize, markerfacecolor=color, label=) # specify a coordinate outside the map region (Africa) x,y = map(-60, -60) # use a fixed

[Matplotlib-users] markers with same size in legend box

2014-10-23 Thread Tommy Carstensen
Is there a way to have all markers in the legend box have the same size? www.tommycarstensen.com/python3_matplotlib_basemap_merc_bluemarbleTrue_scaledTrue_1000GTrue_hresolution.jpg I came up with a solution by plotting a marker outside the latitude and longitude range, but that's not a very good