I am trying to plot hyperbola using sympy and also getting its asymptote in the plot as well. Here is my code-
from sympy import *
x = symbols('x')
plot(3/(x-1), ylim = (-10,10))
This gives the plot below-
I want to plot the hyperbola without its asymptote. Is there any way to do in sympy?
EDIT- Many people are suggesting to look answers here. This does not answer my question because I am looking for a solution specific to sympy only (without using any other library like matplotlib or numpy). If I needed to plot using matplotlib, I would not be using sympy. The reason I want to use sympy is 1. sympy is a CAS (should have this functionality, should not be dependent on other libraries) and 2. I don't need to specify the x and y points for plotting like in matplotlib.