Skip to content

Automatically handle dataframe inputs for creating graphics #395

Open
@kushalkolar

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,

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

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy