Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs v2: export png api #103

Closed
manzt opened this issue Feb 22, 2023 · 3 comments
Closed

docs v2: export png api #103

manzt opened this issue Feb 22, 2023 · 3 comments

Comments

@manzt
Copy link
Member

manzt commented Feb 22, 2023

From previous docs

Saving the view
---------------

The currently visible HiGlass view can be downloaded to a file:

.. code-block:: python

  display.save_as_png('/tmp/my_view.png')

Not that this function can only be used within a Jupyter notebook
and works asynchronously so the saved screenshot will not nessarily
be complete immediately after the function finishes executing
@manzt
Copy link
Member Author

manzt commented Feb 22, 2023

I'm not sure this actually worked in the prior API? It would be something we could add to higlass-widget (not hg directly).

@manzt
Copy link
Member Author

manzt commented Mar 16, 2023

This feature was removed from higlass-python but the docs weren't updated. Would be nice to have, but we can track the issue with #57

@manzt manzt closed this as completed Mar 16, 2023
@manzt
Copy link
Member Author

manzt commented Jan 25, 2024

It seems https://pypi.org/project/ipython-blocking/ might be relevant in implementing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant