[Matplotlib-users] PATCH legend(numpoints <= 0)

2008-02-01 Thread pnovak
Included is a patch to change the behavior when legend() is called with numpoints less than or equal to 0. Currently if one makes such a call, some cryptic error messages are printed out and the plot is not generated. The included patch produces a warning, and defaults to using numpoints = 4, so

[Matplotlib-users] PS backend does not respect kwargs

2008-02-01 Thread pnovak
When using the PostScript backend, and plotting several lines with the same call to plot (or when plotting a LineCollection), kwargs are applied to the first line only, and not to every line. Included is a minimal script that exhibits this problem. The saved figure shows only one thick red line