ddale/mpl-issues

add quote charater support to csv related functions.

ddale opened this issue · 0 comments

Original report at SourceForge

I'm starting to discover the extreme usefulness of matplotlib. I tried to use matplotlib.mlab.csv2rec() to read my csv files, but it cannot read read them b/c i've been using the pipe character, e.i. |, as my quote character. I could change my csv files, but it's been a convention that i've been using for quite a long time.

Since matplotlib uses the python csv module the fix for matplotlib to support arbitrary quote characters is trivial (i think). This patch works for me, but since i'm not familiar with matplotlib's code there could be something that i'm overlooking.

I hope this patch is as simple to apply as i believe. Thanks for your great python module.
-- brad

SourceForge History

  • On Thu Jun 18 11:37:19 2009, by nobody: File Added: 331460: mlab.quotechar.patch