Comments (4)
I've done some more testing and this issue actually impacts all grain preview graphs any time the cleanup function is called (presumably when updating the preview widget).
This issue only occurs on my desktop computer, but crashes both OM 0.5.0 and my development environment. I suspect that my poor dependency hygiene is causing problems here and this is somehow tied to a new version of Matplotlib, although I can't confirm that yet.
Using the method suggested by Matplotlib documentation for interacting with the artist list fixes this problem. Old code included in comments.
for _ in range(0, self.numContours): self.plot.lines[0].remove() #Old Cleanup For Loop #for _ in range(0, self.numContours): #self.plot.lines.pop(0)
from openmotor.
I am not sure if this is still stopping you, but if it is the fix for me was:
On the gainPreviewGraph.py
on the cleanup()
method I simply substituted this line:
self.plot.lines.pop(0)
with this one:
self.plot.lines[0].remove()
That being said probably fixing the versions in the requirements.txt
is a good idea to have more control over these breaking changes
from openmotor.
I have this fix and updated+fixed dependency versions on the pyqt6
branch. Want to try it out? I'll merge it if it installs/runs properly for someone else too.
from openmotor.
I have also pushed with my latest PR. Maybe if that one gets merged we are good on this front too.
But otherwise, do merge the pyqt6 branch and it is another step forward for the project 😃
from openmotor.
Related Issues (20)
- Can't run without python HOT 2
- End Burning Grain Modifications HOT 1
- OpenMotor 0.5.0 and Burnsim 3.3.x - Difference in total newton-seconds HOT 5
- Star grain - Convert from Burnsim to OpenMotor HOT 1
- Propellant properties mistakes HOT 2
- Conical grain type can only have 'Both' inhibited ends option HOT 1
- Pre-populating some fields
- Automatic Motor Optimization HOT 3
- nozzle exit optimization optimizes for wrong pressure HOT 1
- KNDX simulation glitch HOT 1
- Ambient Temperature Dependence HOT 2
- Translation Of Open Rocket To Arabic Language
- PyQt6 for new contributions? HOT 4
- [Discussion] Support multiple languages HOT 5
- Altitude adjustment and nozzle size performance wrong? HOT 6
- Option to add burn rates in tabular format
- Surface Area Table
- PyQt6 - Update from Stage HOT 1
- Propelant editor words too small
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openmotor.