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

Image rendered by pixiedust is too big #313

Closed
yfphoon opened this issue Apr 20, 2017 · 5 comments
Closed

Image rendered by pixiedust is too big #313

yfphoon opened this issue Apr 20, 2017 · 5 comments
Assignees
Milestone

Comments

@yfphoon
Copy link

yfphoon commented Apr 20, 2017

As a user, I want to control the size of the image so that I can see the whole graph on my screen (Image rendered by pixiedust is too big)

Expected behavior

Ability to specify the length and width of the chart, just like in Brunel

Actual behavior

The size of the graph is so huge I can't see the whole image on my screen without scrolling

Steps to reproduce the behavior

Do a stack bar chart or a grouped bar chart.

@MargrietGroenendijk
Copy link
Contributor

Would it be possible to add a slide bar to the options menu where you can set the size from 0-100%

@DTAIEB
Copy link
Member

DTAIEB commented Apr 21, 2017

Yes that's what I was thinking as well. We could have a slider with bounds of 50 to 100%. I would still like to preserve the 4/3 ratio, but I can definitely see cases where the data warrant a different one.

vabarbosa added a commit that referenced this issue May 1, 2017
@vabarbosa
Copy link
Member

changes submitted in commit f39fb0c which allows scaling of image from 50-100%

vabarbosa added a commit that referenced this issue May 1, 2017
vabarbosa added a commit that referenced this issue May 1, 2017
vabarbosa added a commit that referenced this issue May 1, 2017
vabarbosa added a commit that referenced this issue May 1, 2017
@DTAIEB DTAIEB added this to the 1.0.5 milestone May 15, 2017
@DTAIEB DTAIEB closed this as completed May 25, 2017
@yfphoon
Copy link
Author

yfphoon commented May 26, 2017

I see that this issue is closed, the the graph rendered by pixiedust-1.0.5 is still huge. How do I control the size of the graph? Can you please give me the sample syntax? This is my code right now:

from pixiedust.display import *
display(data)

@vabarbosa
Copy link
Member

@yfphoon there is a chartsize slider in the chart controls which can be used to resize the chart:

screen shot 2017-05-29 at 8 56 08 am

and subsequent runs of that specific cell will retain your set chart size

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

4 participants