I need to graph the function 1/sin(x) in matplotlib and I don't know how to find all the vertical asymptotes of the function, Python graphs them for me by mistake and I want to avoid this. What I can do?
My idea was to find the zeros of the denominator with solve in order to establish plotting intervals, but solve only gives me two zeros (0;pi) and the code does not work