Closed FromTravis closed 5 years ago
I 've navigated around the issue by not using write image method and instead call(['orca', 'graph', json.dumps(fig, cls=plotly.utils.PlotlyJSONEncoder), '-o', 'fig1b','-d','images','-f','svg'])
A pity but it does the job!
In the terminal $ which orca '/-/anaconda3/bin/orca' ('/path/to/orca')
plotly.io.orca.config.executable = '/-/anaconda3/bin/orca' plotly.io.orca.config.save()
Good morning all,
I keep bumping the error below when trying to make Orca work. Although when using the line: !orca graph “{ “data”: [{“y”: [1,2,60]}] }” -o fig.png on a command window it works.
and second question: to save an image cam you just create the figure and then fig.write_image("images/fig1.png") like in the plotly website ? I m asking because i see posts of people writing about launching the orca server etc.. but i don't really see full codes on how to do so.
ValueError Traceback (most recent call last)