python - Horizontal alignment of widgets in ipython notebook -


consider following example:

%pylab inline  ipython.html import widgets ipython.html.widgets import interact  import matplotlib.pyplot plt   def f(values):     data = {         'foo': ([1, 2, 3], [1, 4, 9]),         'bar': ([1, 2, 3], [9, 4, 1]),         'baz': ([1, 2, 3], [2, 2, 2])     }          item in values:         plt.plot(*data[item])   __ = interact(f, values=widgets.selectmultiple(     height=1000,  # going long list     description=' ',     options=['foo', 'bar', 'baz'])) 

having got selectmultiple widget , inline plot below it. can see selectmultiple list may long, obvious intention place plot hbox. pyplot not notebook widget.

are there ways solve problem without tricky workarounds?

thank you.


Comments

Popular posts from this blog

objective c - Deep Linking for iOS Apps which are not installed yet? -

Java 8 + Maven Javadoc plugin: Error fetching URL -

java - Unable to publish my application to WAS 7.0.0.29 on RAD 7.5.5.5 iFix1 -