This is a strange issue with ipython that I'm experiencing in my new machine. Whenever I try to print documentation, it comes as such:
Rather than a neatly formatted output. Any idea on how to fix it?
Try print
ing it
print plt.scatter.__doc__
It's simply returning the underlying string representation, so if you want it to format, print
should do it.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.