Plotting the prime_pi function is really strange. It seems like something needs a little polish:
sage: plot(prime_pi, (5,100)) fails with "TypeError: an integer is required". However, sage: prime_pi(15.5) 6 works fine. So the plot command seems to be failing for no good reason. But similar commands work fine: sage: plot(prime_pi, 5,100) produces the plot. I can do "plot(sin, (5,100))" and "plot(sin, 5, 100)" and I get the same plot. I understand that prime_pi is very different from sine, but IMHO the user interface for a basic plot should work either way. Does anyone else agree? (A participant in our PREP workshop got tripped up by this today.) Dan -- --- Dan Drake ----- http://mathsci.kaist.ac.kr/~drake -------
signature.asc
Description: Digital signature