Skip to content

Layout properties specified through templates not applied on io.write_image() #62

@rom-burner

Description

@rom-burner

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsomething broken

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions