Skip to content

Inconsistent behavior of show method #40

@emield12

Description

@emield12

Currently, when you call the show method on a FigureResampler object it returns a down sampled version of the figure that does not resample, which looks like a "broken" figure when zooming in. This behavior is inconsistent with standard Plotly figures and could create confusion.
I see two possible solutions to solve this problem:

  • Making the behavior consistent with Plotly by returning the original (not down sampled) figure when show is called. Although this could be annoying if you are working with a lot of points and inadvertently call show and crash your kernel/browser as a result.
  • Keep the same behavior as now, but throw a warning message. As this might not result in the expected behavior.

Metadata

Metadata

Assignees

Labels

discussionopen discussion about some functionalitydocumentationImprovements or additions to documentation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions