We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96bf9a0 commit 350dd48Copy full SHA for 350dd48
1 file changed
plotly/io/_kaleido.py
@@ -156,6 +156,15 @@ def to_image(
156
# Request image bytes
157
if kaleido_major > 0:
158
# Kaleido v1
159
+ # Check if trying to export to EPS format, which is not supported in Kaleido v1
160
+ if format == 'eps':
161
+ raise ValueError(
162
+ """
163
+EPS export is not supported with Kaleido v1.
164
+Please downgrade to Kaleido v0 to use EPS export:
165
+ $ pip install kaleido==0.2.1
166
+"""
167
+ )
168
img_bytes = kaleido.calc_fig_sync(
169
fig_dict,
170
path=None,
0 commit comments