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?


1 Answer 1


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.

  • Please disclose any affiliation you have with this product. Commented Aug 15, 2019 at 4:51
  • I'm a web admin where this (and many other) program is posted. Not associated with the program itself. Commented Aug 16, 2019 at 12:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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