Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

update_yaxes behavior for make_subplots vs specifying axes directly #5213

Open
Labels
P2considered for next cycle featuresomething new
@RSDummy0

Description

--copied from the plotly forum here https://community.plotly.com/t/update-yaxes-behavior-when-using-make-subplots-vs-specifying-axes-directly/92496--

To my knowledge, there’s two main ways to create subplots:

make_subplots(), then add trace data - example here
create list of data, inject into go.Figure() - example here (see hover on subplots)

I’m not sure which one’s the preferred one, but update_yaxes affects them differently.

If we use method 1, the update_yaxes affects all yaxes as intended
If we use method 2, the update_yaxes only affects the first subplot

Is there a reason why update_yaxes doesn’t play well with the second way of creating subplots?

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2considered for next cycle featuresomething new

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /