I need a plotting library which can be used for interactive plotting and generate plots directly from the command line. Plotly and Bokeh are good but they are meant to be used with web applications. I need to display the plots like matplotlib from the command line (in a new window and not the browser) which doesn't seem to be possible with the other libraries.

Is there any good alternative?


If you would use Java as a backed of your Python code, you may look at DataMelt program. Here is the gallery of images you can create with DataMelt:


Note that that you can program code snippets in Jython (Python implemented in Java), so you can easily reuse your CPython code inside DataMelt. But you need to use Java classes that make such plots.

| improve this answer | |
  • Please disclose any affiliation you have with this product. – RockPaperLizard Aug 15 '19 at 4:51
  • I'm a web admin where this (and many other) program is posted. Not associated with the program itself. – user7975996 Aug 16 '19 at 12:32
  • Thank you for the details! :) – RockPaperLizard Aug 18 '19 at 9:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.