Skip to content
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

[Bug]: Figure show issue #12

Closed
NPUZSY opened this issue Dec 20, 2024 · 1 comment · Fixed by NREL/thevenin#5
Closed

[Bug]: Figure show issue #12

NPUZSY opened this issue Dec 20, 2024 · 1 comment · Fixed by NREL/thevenin#5
Labels
bug Something isn't working

Comments

@NPUZSY
Copy link

NPUZSY commented Dec 20, 2024

thevenin Version

0.1.1

Python Version

3.10

Describe the bug

When I use
soln.plot('time_h', 'voltage_V')
When drawing, figure cannot always be displayed on the screen. It must be added at the back
plt.show()
To really block the program

Steps to Reproduce

import thevenin

model = thevenin.Model()

expr = thevenin.Experiment()
expr.add_step('current_A', 75., (3600., 1.), limits=('voltage_V', 3.))

soln = model.run(expr)
soln.plot('time_h', 'voltage_V')
# plt.show()

Relevant log output

No response

@NPUZSY NPUZSY added the bug Something isn't working label Dec 20, 2024
@NPUZSY NPUZSY changed the title [Bug]: [Bug]: Figure show issue Dec 20, 2024
@c-randall c-randall mentioned this issue Dec 24, 2024
10 tasks
@c-randall
Copy link
Collaborator

This issue has been addressed in the v0.1.2 release. Note that this is the old repo for thevenin. The new main repository is now hosted under the NREL organization. This repo will only stay open for a few more months to help with a transition period.

You can install v0.1.2 from PyPI by using pip install thevenin. If you want to keep up with new development, please follow the new repo here instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants