Skip to content

Image export ignores figure layout (using Kaleido) #2933

Closed
@sergiocalde94

Description

@sergiocalde94

Hi!

Thank you very much for your awesome library 🥇

I am having some issues about figure sizing with svg render. I think a reproducible example is very visual:

With default render (plotly_mimetype+notebook) the layout correctly changes the figure size:

Screenshot 2020-11-24 at 19 01 40

But if I try it with svg render it ignores the layout 😢:

Screenshot 2020-11-24 at 19 02 51

Do you know how to avoid this problem? I need an uniform strategy, that with the same code returns same figure size, excepting the rendered type.

Thank you in advance 👍

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions