Skip to content

[BUG]: bargap property not included in type Plotly.Layout #8032

Description

@Mathlete-101

Description

Plotly.Layout type does not include the bargap property.

Steps to reproduce

  • Install plotly.js 4.0.0 and set up a new typescript project that includes the types
  • In a new, typechecked file, write
    const example: Partial<Plotly.Layout> = {bargap: 0} and import the Plotly.Layout type

Expected: no type error
Actual: type error including 'bargap' does not exist in type Partial<Plotly.Layout>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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