python - External matplotlib viewer -
Whenever I try to display a plot by using ipython notebook with matplotlib module, no plot is shown Goes (I'm an external viewer), instead I use the magic command % matplotlib inline
, but I do not want to see the note in the notebook in an external viewer.
The same happens with others
Any ideas or suggestions?
The original piece of code:
import plus x = np.linspace (0, 5, 100) y = x ** 2 plt.plot (x, y, 'R') plt.xlabel ('x') Plt.ylabel ('y') plt.title ('title') plt.show ()
Comments
Post a Comment