-
-
Notifications
You must be signed in to change notification settings - Fork 358
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
Interact support #78
Comments
I am trying to figure out how I could fix this, but I am a little out of my league here. I can't quite pin down what makes Gadfly work with interact that's missing for Plots. Do you have any intuition what the missing piece could be? |
I haven't worked with interact... I only have a high level understanding of how it works. I'll dig into it when I have a chance.
|
Looking at this now... it seems like |
I can't even get it to work with Gadfly. This may take longer than I want. |
My current workaround is by returning Compose.set_default_graphic_size(22cm, 10cm) # have to set this explicitly
Gadfly.hstack(p1.o, p2.o) |
👍🏽 Using @manipulate for k=1:10
plot(...).o
end works for me |
I clearly have something weird with my setup. I tried running this from a fresh IJulia notebook:
Based on your posts, I would expect that to work, but the cell just hangs, never finishing or outputting anything. For Gadfly, a better hack (until we figure out why it doesn't work directly) for subplots would look like:
This is untested of course because |
Bizarre, your first example works for me. I’m on “master” for Interact, and jupyter 4.0.6.
|
This issue also affects Juno compatibility: using Plots;gadfly()
plot(1:10,1:10) puts the plot in the Console, so you need plot(1:10,1:10).o to plot inline. |
Try using plt.o In place of the last plt Sent from my iPhone
|
Thanks @dlfivefifty ! It works using |
I was just looking at this, and Interact seems to work with all backends except plotlyjs (which seems to break the notebook?). Closing this, and I'll add an item to the plotly meta-issue. cc: @spencerlyon2 |
I believe that things should work quite well with PlotlyJS. @tbreloff can you confirm? If it is still an issue please tell me about it. |
don't stringify argument to `warn_on_recipe_aliases!` early
When using
@manipulate
the plot doesn't change after the first time it's drawnI managed to get
@manipulate
running as expected by directly returningplt.o
. This however only works for a gadfly backend AFAIKThe text was updated successfully, but these errors were encountered: