koji-kojiro / matplotlib-d

MIT License
10 stars 6 forks source link

Arrays are now converted to numpy arrays before passing to matplotlib functions as some of them expect numpy arrays, not python lists #19

Open Rob-Rau opened 4 years ago

Rob-Rau commented 4 years ago

Matplotlib expects Numpy ranges for some of its plotting routines. Mainly streamplot but I'm sure their are others. This PR explicitly takes incoming arrays and converts them to numpy arrays instead of python lists. This should not be a problem as Numpy is a direct dependency of matplotlib so it will be installed if matplotlib is expected to work.

Rob-Rau commented 4 years ago

@koji-kojiro Any thoughts on this?