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 — Figure.export() ? · Issue #504 · fastplotlib/fastplotlib

Figure.export() ?  #504

New issue
Copy link
New issue
Copy link
Closed
#531
Closed
Figure.export() ? #504
#531
Copy link

Description

@kushalkolar
kushalkolar
opened on May 13, 2024
Issue body actions

What do you think about an Figure.export() method. I'm not sure because Figure.renderer.snapshot() exists, and then users can use their preferred library for saving that RGBA array to an image. And if they want to deal with the alpha channel in a special way they can do that. But I often see people searching the docs for "save" and "save figure" . We can have a simple Figure.export() imageio that takes the snapshot and does stuff in a default way? Just saves it to an png, or a jpg by stripping the alpha channel?

Activity

  1. apasarkar commented on May 14, 2024

    @apasarkar
    apasarkar
    on May 14, 2024
    Collaborator
    More actions

    I think we should support a "maximum quality" figure export of some kind. This can be useful if people want to demo results of a pipeline/exploratory data analysis to others.

    Similar thoughts re: exporting a high-resolution video ("screen recording") for sharing with others. I know many people who would regularly use this, especially the video bit.

  2. almarklein commented on May 14, 2024

    @almarklein
    almarklein
    on May 14, 2024
    Collaborator
    More actions

    Makes sense!

    I think we should support a "maximum quality" figure export of some kind.

    I thought about this. Could perhaps be an option in pygfx to render a frame with a higher pixel-ratio.

  3. kushalkolar
    closed this as completedin #531on Jun 19, 2024
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.