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

Can't use user defined Tp limits in PropertyPlot in Python #2289

Open
HaSchneider opened this issue Aug 30, 2023 · 0 comments
Open

Can't use user defined Tp limits in PropertyPlot in Python #2289

HaSchneider opened this issue Aug 30, 2023 · 0 comments

Comments

@HaSchneider
Copy link

If I want to adjust the tp limits of a PropertyPlot by using the function set_Tp_limits(), e.g.:

import CoolProp
from CoolProp.Plots import PropertyPlot
plot = PropertyPlot('Water', 'hs', tp_limits = 'ORC')
plot.set_Tp_limits([10, 800, 0.1, 40])
plot.calc_isolines()
plot.show()

I get the Error:
TypeError: unhashable type: 'list'

This can be fixed by intending those two lines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant