declarativewidgets_explorer icon indicating copy to clipboard operation
declarativewidgets_explorer copied to clipboard

explorer plot should scale appropriately to fit data

Open jtyberg opened this issue 8 years ago • 2 comments

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

jtyberg avatar Aug 23 '16 12:08 jtyberg

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 avatar Aug 23 '16 14:08 peller

@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 avatar Aug 24 '16 02:08 peller