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

save_as_png AttributeError #57

Open
bnelsj opened this issue Feb 11, 2020 · 1 comment
Open

save_as_png AttributeError #57

bnelsj opened this issue Feb 11, 2020 · 1 comment

Comments

@bnelsj
Copy link

bnelsj commented Feb 11, 2020

Hi, I am using higlass v0.4.0 and I'm trying to save a png file in a jupyter notebook as described in the tutorial. However, I get the following error message:

AttributeError: 'HiGlassDisplay' object has no attribute 'save_as_png'

Any troubleshooting suggestions?

@pkerpedjiev
Copy link
Member

Hi, really sorry about the delayed response. In the future if you don't get a response within a couple days or want a quicker response, feel free to pop into our Slack channel (http://bit.ly/higlass-slack) and ask there.

Unfortunately, I don't have good news on the troubleshooting front. We took the function out because it doesn't work quite the way we'd expect it to but didn't update the documentation (the docs are in a separate repo).

If you'd like to try it out, the save_as_png function still exists, it's just commented out. You could clone the higlass python repository, uncomment it and install the package in development mode to see if it works for you:

git clone https://github.com/higlass/higlass-python.git
cd higlass-python
# uncomment the save_as_png function in higlass/viewer.py
python setup.py develop

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

2 participants