I am currently working on a ignition curve plot, and I got stuck with creating the plot from equations that I created from sympy symbols. I keep getting an error ValueError: The arguments must be Symbols. whenever I put plot(Rho_square.subs(Y, 1.0), (T_8, 0.01, 0.1), xscale = 'log', yscale = 'log')
I tried the code below expecting to get a plot on a log scale.
from sympy import solve
import scipy.integrate as integrate
import scipy.special as special
from sympy import init_session
init_session()
q_3a = 5.09 * (10**11) * rho**2 * Y**3 * T_8**(-3) * exp(-44.027/T_8)
q_3a_wo_rho = 5.09 * (10**11) * Y**3 * T_8**(-3) * exp(-44.027/T_8)
Rho_square = (10**3) / q_3a_wo_rho
plot(Rho_square.subs(Y, 1.0), (T_8, 0.01, 0.1), xscale = 'log', yscale = 'log')
