jaxprop.plotting module#
Eager phase/reference plotting through configured real-fluid sources.
These diagrams describe the source EOS, including states outside a bicubic table’s numerical domain. They do not turn an unsupported phase operation into a state-evaluation capability, or add source calls to numerical evaluators.
- jaxprop.plotting.plot_phase_diagram(fluid, x_prop='s', y_prop='T', axes=None, **options)[source]#
Plot the selected real fluid’s source EOS and return
(figure, axes).Direct-source and callback objects reuse their configured source. A bicubic real-fluid model prepares a plotting-only source under the table’s exact reference/provenance convention. Repeated calls on the same axes reuse that source and update its artists, independently for each named stream.
Perfect-gas and binary parcel models have no phase diagram of their own and raise
UnsupportedOperationError. Their source-reference records remain available explicitly throughfluid.references. This function is eager and must be called outside JAX transformations and numerical timing loops.