From 3073add4db97d604776a2d13b97d9e76ff0b285b Mon Sep 17 00:00:00 2001 From: ediazlovo Date: Wed, 4 Mar 2026 22:06:43 -0500 Subject: [PATCH] Update TxyNotebook.py The group decided to limit the x-axis range to 0-1, for values outside this range do not make sense in the context of mole fractions. --- TxyNotebook.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/TxyNotebook.py b/TxyNotebook.py index b1de67f..d137082 100644 --- a/TxyNotebook.py +++ b/TxyNotebook.py @@ -101,8 +101,9 @@ def resfun(T): plt.plot(x_prop, T_soln, label='X_prop') plt.xlabel('$x_{prop}$, $y_{prop}$') plt.ylabel('Temperature (K)') - plt.title('T-x-y of propane and toluene') + plt.title('T-x-y of Propane and Toluene') plt.legend(loc='upper right') + plt.xlim(0,1) return