I'm trying to use the module but I'm not able to make it work.
I get the following error when run the first module call:
me@computer:~/test$ node
> const plt = require('matplotnode');
undefined
> plt.plot([0,1], [5.5,6.5]);
Could not import matplotlib.pyplot.
Segmentation fault (core dumped)
I think that python and matplotlib are well installed. When I run the following code a new window appear with the plot:
me@computer:~/test$ python
Python 2.7.12 (default, Nov 19 2016, 06:48:10)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import matplotlib.pyplot as plt
>>> plt.plot([0,1], [5.5,6.5])
[<matplotlib.lines.Line2D object at 0x7fad157bac50>]
>>> plt.show()
I'm running on Ubuntu 16.04. Have you any idea about what I'm doing wrong?
I'm trying to use the module but I'm not able to make it work.
I get the following error when run the first module call:
I think that python and matplotlib are well installed. When I run the following code a new window appear with the plot:
I'm running on Ubuntu 16.04. Have you any idea about what I'm doing wrong?