Popular recipes tagged "interactive"http://code.activestate.com/recipes/tags/interactive/popular/2011-04-06T18:18:48-07:00ActiveState Code RecipesMandelbrot trajectories (Python)
2011-04-06T18:18:48-07:00Kaushik Ghosehttp://code.activestate.com/recipes/users/4166965/http://code.activestate.com/recipes/577642-mandelbrot-trajectories/
<p style="color: grey">
Python
recipe 577642
by <a href="/recipes/users/4166965/">Kaushik Ghose</a>
(<a href="/recipes/tags/graph/">graph</a>, <a href="/recipes/tags/interactive/">interactive</a>, <a href="/recipes/tags/matplotlib/">matplotlib</a>, <a href="/recipes/tags/plotting/">plotting</a>, <a href="/recipes/tags/widget/">widget</a>).
</p>
<p>An interactive graph to plot the trajectory of points on and off the mandelbrot
set. Illustrates the use of sliders in matplotlib</p>
Simple example of embeding plots in wx and running them interactively (Python)
2010-09-21T17:30:30-07:00Kaushik Ghosehttp://code.activestate.com/recipes/users/4166965/http://code.activestate.com/recipes/577402-simple-example-of-embeding-plots-in-wx-and-running/
<p style="color: grey">
Python
recipe 577402
by <a href="/recipes/users/4166965/">Kaushik Ghose</a>
(<a href="/recipes/tags/interactive/">interactive</a>, <a href="/recipes/tags/matplotlib/">matplotlib</a>, <a href="/recipes/tags/wx/">wx</a>).
</p>
<p>Simple code to show how to incorporate a pylab plot into wx and then interact with it. This can form the basis of windows/apps that plot various variables that can be changing in the background.</p>
Debugging a running python process by interrupting and providing an interactive prompt (Python)
2008-09-25T11:23:29-07:00Brian McErleanhttp://code.activestate.com/recipes/users/111980/http://code.activestate.com/recipes/576515-debugging-a-running-python-process-by-interrupting/
<p style="color: grey">
Python
recipe 576515
by <a href="/recipes/users/111980/">Brian McErlean</a>
(<a href="/recipes/tags/debug/">debug</a>, <a href="/recipes/tags/interactive/">interactive</a>, <a href="/recipes/tags/remote/">remote</a>, <a href="/recipes/tags/signal/">signal</a>).
Revision 2.
</p>
<p>This provides code to allow any python program which uses it to be interrupted at the current point, and communicated with via a normal python interactive console. This allows the locals, globals and associated program state to be investigated, as well as calling arbitrary functions and classes.</p>
<p>To use, a process should import the module, and call listen() at any point during startup.
To interrupt this process, the script can be run directly, giving the process Id of the process to debug as the parameter.</p>