Skip to content

1.37.x doesn't ignore layout.grid: true during defaults #2633

Closed
@protobi-pieter

Description

@protobi-pieter

The following chart https://codepen.io/__proto__/pen/NMBpyY
renders fine in Plotly.js with CDN version up to 1.36.0 but fails in the latest release 1.37.0

Uncaught TypeError: Cannot read property 'x' of undefined
    at handlePositionDefaults (VM10186 plotly.js:132985)
    at Object.supplyLayoutDefaults (VM10186 plotly.js:132829)
    at Object.plots.supplyLayoutModuleDefaults (VM10186 plotly.js:144174)
    at Object.plots.supplyDefaults (VM10186 plotly.js:143178)
    at Object.exports.plot (VM10186 plotly.js:121060)
    at Object.exports.newPlot (VM10186 plotly.js:121496)
    at VM9694 pen.js:278

image

I didn't see any release notes for 1.37 so submitting this here in case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsomething broken

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions