Did I find the right examples for you? yes no

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/c/o/CoolProp-4.2.0/CoolProp/tests/test_plots.py   CoolProp(Download)
def Ts_plot_tests():
    from CoolProp.Plots import PropsPlot
    PP = PropsPlot(fluid_ref, 'Ts')
    PP._draw_graph()
 
@image_comparison(baseline_images=['Ph_plot_tests'], extensions=['png'])
def Ph_plot_tests():
    from CoolProp.Plots import PropsPlot
    PP = PropsPlot(fluid_ref, 'Ph')
    PP._draw_graph()
    PP.draw_isolines('P', [100e3, 2000e3], num=5)
    PP.draw_isolines('D', [2, 600], num=7)
    PP._draw_graph()
 
@image_comparison(baseline_images=['Graph_annotations_tests'], extensions=['png'])
def Mixture_tests():
    from CoolProp.Plots import PropsPlot
    PP = PropsPlot('REFPROP-MIX:R32[0.47319469]&R125[0.2051091]&R134a[0.32169621]', 'TD')
    PP._plot_default_annotations()
    PP._draw_graph()