From: C M <cmp...@gm...> - 2009-01-26 03:35:42
|
On Sun, Jan 25, 2009 at 6:44 PM, Norbert Nemec <Nor...@gm...>wrote: > Sorry for my misleading words - I did not correctly recall my own work from > back then... > > In fact, the code as it is does not change the mec automatically when the > mfc of a filled_marker is set to "None" but leaves it black. I did consider > adding an automation to change but decided against it. The logic would have > become too complex and hard to predict. > > What you can do is setting the mec afterwards using get_color on the plot > like > > pl, = plot(x,y,"-o",mfc="None") > pl.set_mec(pl.get_color()) > > Hope that helps? > > Norbert, It did, thank you! One question, though: when I originally tried something like this, it didn't work, because it was treating pl as a list and giving me the error of "list object has no attribute 'set_mec()'" Why does the addition of the comma to pl allow it to see it as a line? |