You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Eg specifying a height and width as properties in a template for a figure and using the show() method renders the figure correctly, but write() method using kaleido defaults to plotly.io.kaleido.scope.default_height and default_width of 500x700, regardless of what is specified in the figure's template. Not tried with orca.
Easy fix is to re-specify figure dimensions again in io.write_image() call, but should this be necessary?
The text was updated successfully, but these errors were encountered:
Thanks for the report @rom-burner. I talked about checking the template's layout width in #12, but looks like I didn't end up implementing that in #18.
See also plotly/plotly.py#2651 ... would be nice to just fix this everywhere and have the static renderers always honor layout.{width|height} falling back to layout.template.layout.{width|height}
Eg specifying a height and width as properties in a template for a figure and using the
show()
method renders the figure correctly, butwrite()
method using kaleido defaults toplotly.io.kaleido.scope.default_height
anddefault_width
of 500x700, regardless of what is specified in the figure's template. Not tried with orca.Easy fix is to re-specify figure dimensions again in
io.write_image()
call, but should this be necessary?The text was updated successfully, but these errors were encountered: