Export static image as png fails without error message

Iā€™m trying to save a figure as a png file. Unfortunately, code just fails by just not doing anything, i.e. never finishes.

Environment: MacOS Mojave 10.14.5
Python version: 3.7.4
plotly==4.1.1
plotly-orca==1.2.1
psutil==5.6.3
requests==2.20.1

Code example:

import plotly.graph_objects as go
figure = go.Figure(go.Bar(
x=[2,3,4],
y=['a','b','c'],
orientation='h'))
figure.write_image("horizontal_graph.png")