Skip to content

The legend limits are incorrectly calculated in deck.gl polygon #34747

@jpchenu

Description

@jpchenu

Bug description

Hello,
In superset 5.0 i have a value which is 38.7. But the scale max limit is calculated as 38 (instead of 39). So the polygone has not the good color of the legend (white instead of dark)
cf printscreen :
Image

Screenshots/recordings

No response

Superset version

5.0.0

Python version

Not applicable

Node version

I don't know

Browser

Firefox

Additional context

No response

Checklist

  • I have searched Superset docs and Slack and didn't find a solution to my problem.
  • I have searched the GitHub issue tracker and didn't find a similar bug report.
  • I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions