Skip to content

dropdownmenus not working in version 1.12.5 while documentation claims it does. #542

Closed
@aravindhsampath

Description

@aravindhsampath

Documentation for dropdown menus claims to be working 1.12.4+ [Source: https://plot.ly/python/dropdowns/]

But, I run

import plotly
plotly.version
'1.12.5'

Yet, I get :

PlotlyDictKeyError: 'updatemenus' is not allowed in 'layout'

Path To Error: ['updatemenus']

Valid attributes for 'layout' at path [] under parents []:

['orientation', 'paper_bgcolor', 'scene', 'height', 'radialaxis',
'titlefont', 'images', 'hovermode', 'font', 'boxmode', 'autosize',
'title', 'plot_bgcolor', 'dragmode', 'smith', 'width', 'bargap',
'xaxis', 'bargroupgap', 'hidesources', 'direction', 'hiddenlabelssrc',
'showlegend', 'separators', 'hiddenlabels', 'barmode', 'boxgap',
'angularaxis', 'geo', 'legend', 'yaxis', 'annotations', 'shapes',
'barnorm', 'ternary', 'boxgroupgap', 'margin']

Run <layout-object>.help('attribute') on any of the above.
'' is the object at []

Feature itself seems to have checked in to "1.16.0" [source: https://github.com/plotly/plotly.js/pull/770]

Documentation needs to be corrected?

P.S I'm running on a hosted Jupyter server that I don't have access to upgrade packages.

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