Issue
I used matplotlib in Python notebook in the old days, but now I am experimenting with Kotlin... is it possible to generate PNG or SVG plots using matplotlib from command-line in the same way graphviz allows you to with the "dot" command?
Solution
I suppose instead of generating some data file, I could generate a .py file with hardcoded data, run the "python3" command on it, and voila, an SVG pops out. I expected matplotlib to offer something similar to "dot" command but this will also work.
Answered By - ArekBulski
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.