vaibhavreddys / scipy-sim

Automatically exported from code.google.com/p/scipy-sim
Other
0 stars 0 forks source link

Second plot fails to show data #5

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run the trajectory.py example model
2. Wait

What is the expected output? 

  Expect to see both the velocity and displacement graphs plotted

What do you see instead?

  See velocity, but while the displacement window appears no data is plotted. 

Things seem to work ok if everything is plotted in one figure
(own_fig=False for both Plotter actors). 

Original issue reported on code.google.com by allan.mcinnes@gmail.com on 26 Feb 2010 at 11:19

GoogleCodeExporter commented 8 years ago
Things also seem to work if the first plot has own_fig=False. I'm investigating 
a 
problem with using class attributes from different threads to carefully access 
the 
matplotlib api depending on if its the "first" plot or not. Basically the 
plotting 
code smells bad.

Original comment by hardbyte on 28 Feb 2010 at 11:21

GoogleCodeExporter commented 8 years ago
This is working for me now, can we mark as closed?

I still don't like the plotting code though.

Original comment by hardbyte on 15 Mar 2010 at 2:21