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 Graph_annotations_tests():
    from CoolProp.Plots import PropsPlot, IsoLines
    PP = PropsPlot(fluid_ref, 'Ts')
    PP.set_axis_limits([-0.5, 1.5, 300, 530])
    PP.draw_isolines('Q', [0.3, 0.5, 0.7, 0.8])
    PP.draw_isolines('P', [100e3, 2000e3], num=5)
    PP.draw_isolines('D', [2, 600], num=7)
    PP.ylabel('New y label')
    PP = IsoLines(fluid_ref, 'Ts', 'P')
    PP.draw_isolines([100e3, 2000e3], num=5)
    PP._draw_graph()