Skip to content

Commit 8f2c170

Browse files
Fix honouring of validate=False for interactive plots.
1 parent 6a85e4b commit 8f2c170

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

plotly/io/_base_renderers.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,8 @@ def to_mimebundle(self, fig_dict):
122122
format=self.format,
123123
width=self.width,
124124
height=self.height,
125-
scale=self.scale)
125+
scale=self.scale,
126+
validate=False)
126127

127128
if self.b64_encode:
128129
image_str = base64.b64encode(image_bytes).decode('utf8')
@@ -354,6 +355,7 @@ def to_mimebundle(self, fig_dict):
354355
animation_opts=self.animation_opts,
355356
default_width='100%',
356357
default_height=525,
358+
validate=False,
357359
)
358360

359361
return {'text/html': html}
@@ -629,5 +631,6 @@ def render(self, fig_dict):
629631
animation_opts=self.animation_opts,
630632
default_width='100%',
631633
default_height='100%',
634+
validate=False
632635
)
633636
open_html_in_browser(html, self.using, self.new, self.autoraise)

0 commit comments

Comments
 (0)