Skip to content

Automatically handle dataframe inputs for creating graphics#395

Description

@kushalkolar

Very early idea, inspired by @gviejo 馃槃 and #394

Seaborn allows creating plots using dataframes. We could offer a similar high-level API (even higher level than fastplotlib already is) where dataframes are used as inputs, and the columns for the actual data to plot are specified (xs, ys, zs, etc.), and it automatically creates labels, legends etc. based on this.

Early thoughts:

  1. Do we want to do this?
  2. Does this belong in the Graphics API? I am kind of leaning towards it belonging in a higher level API - something between Graphics and widgets. @clewis7 your thoughts would be great here!
  3. Another reason why I think it belongs in a higher level API than Graphics is because we could offer things like kde plots which would be comprised of multiple graphics, and the graphics could be switchable (ScatterGraphic vs. HeatmapGraphic to represent the KDE).
  4. If we do this,

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions