koaning / drawdata

Draw datasets from within Jupyter.

Home Page:https://calmcode.io/labs/drawdata.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Configure the number of bins in the histogram

mazenbesher opened this issue · comments

I understand that this library only returns iframes from the website, but it would be awesome if the plots can be configured for instance to control the number bins in the histogram.

That's certainly fair.

Serving the IFrame from a local file turned out harder than I would have liked, so I made the version 0 just connect to the online variant.

You're mentioning a feature that I also had in my mind for the future, but it'll likely not be the near future. I'd love to be able to load in an existing dataframe and allow you to add datapoints to it. For example, you load in your timeseries data, and you can draw datapoints ... allowing you to effectively draw a model. Something in that area. I still need to have a good ponder on what that might look like from a design perspective though.

I'll keep the issue up here as a reminder. I agree that general settings like "min_x, max_y, etc" really make sense to have. It'd also make sense to have datetimes available on the x_axis.