Choosing x and y labels on matploblib, Python : <p>I currently have this function on matploblib:</p>

<pre><code>x = np.arange(0,31)
y = x/(30-x)
plt.plot(x,y)
plt.ylabel('some numbers')
axes = plt.gca()
axes.set_ylim([0,3])
axes.set_xlim([0,25])
plt.show()
</code></pre>

<p><a href="https://i.stack.imgur.com/T21rY.png" rel="nofollow noreferrer">picture</a></p>

<p>However, I want to show only the numbers 3, 2 and 1/3 on the y axis and, corresponding to those numbers, 3T/4, 2T/3, T/4. Ideally, there would be a dashed line to indicate those points. (1/3, T/4), (2T/3, 2) and (3T/4, 3)</p>

<p>That is, I want to represent the equation X/(T-X), where T is a constant. Is that possible?</p>
