Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.

explorer plot should scale appropriately to fit data #66

Open
jtyberg opened this issue Aug 23, 2016 · 2 comments
Open

explorer plot should scale appropriately to fit data #66

jtyberg opened this issue Aug 23, 2016 · 2 comments
Assignees

Comments

@jtyberg
Copy link

jtyberg commented Aug 23, 2016

The explorer widget should scale to the data that it plots.

Contrast the df.plot() output, which produces the data scaled to the viewing area with the explore(df) plot, which forces the user to scroll:

widget_explorer_scale

@peller
Copy link
Collaborator

peller commented Aug 23, 2016

I think the problem is that your timestamps are being treated as ordinals. Right now, you need to convert the column to a Date type in your dataframe in the kernel -- see the fourth code cell in this example Try that and see if it gives you the behavior you want. We clearly need a friendlier way to recognize and coerce the data type.

@peller
Copy link
Collaborator

peller commented Aug 24, 2016

@lbustelo: we could try introducing heuristics to identify and convert dates. It might make more sense to do that in urth-core-dataframe than on the client e.g. urth-viz-explorer. Thoughts?

@peller peller self-assigned this Aug 25, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants