GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — More repr stuff in html! · Issue #428 · fastplotlib/fastplotlib

More repr stuff in html! #428

New issue
Copy link
New issue
Copy link
Open
Open
More repr stuff in html!#428
Copy link

Description

@kushalkolar
kushalkolar
opened on Mar 9, 2024
Issue body actions

From Almar's idea, we could make some really nice reprs for notebooks kinda like what xarray does 😄

image

For graphics we can have an expandable table with the following:

  • name
  • features
    • data, can be expanded to show the head and tail of the actuall array, or whatever the array repr returns
    • colors, get all the unique colors and show the actual color with a box using the RGB values if there are <10 unique values?
  • position
  • List other features, draggable, etc.

For graphic features:

  • name and value of the feature
  • if it is for a Buffer, be able to expand and see the buffer head/tail (like data in graphics above).

For plots and gridplots:

  • expanable list of graphics in the main plot area with the names
  • graphics in the docks
  • name of subplots, if a gridplot
  • adapter info

@clewis7 thoughts?

Activity

  1. clewis7 commented on Mar 18, 2024

    @clewis7
    clewis7
    on Mar 18, 2024
    Member
    More actions

    I think this sounds like a good idea! I'm trying to think how relevant it would be to expand a data array or just whatever the array repr returns...

  2. kushalkolar commented on Apr 30, 2024

    @kushalkolar
    kushalkolar
    on Apr 30, 2024
    MemberAuthor
    More actions

    This is the HTML repr formatting module in xarray:

    https://github.com/pydata/xarray/blob/main/xarray/core/formatting_html.py

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

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.