Matplotlib
How to customize marker/symbol properties in matplotlib?
Example command: prop = matplotlib.pyplot.scatter(x,y,s=s,c=c) dir(prop) shows set_edgecolor, set_edgecolors, set_linestyle, set_linestyles - why so many variations on the same thing?[详细]
2023-04-13 10:07 分类:问答After installing matplotlib basemap via Macports, example python code for basemap is not running
I\'m using Mac OS X 10.6.8. I installed Python 2.6 using the binary installer in http://www.python.org/. I\'ve been using it along with SciPy and Matplotlib for my scientific computing needs since Mar[详细]
2023-04-13 02:53 分类:问答matplotlib: adding second axes() with transparent background?
Define data x = np.linspace(0,2*np.pi,100) y = 2*np.sin(x) Plot fig = plt.figure()开发者_开发技巧 ax = plt.axes()[详细]
2023-04-13 02:10 分类:问答Matplotlib - matching axes unit length (resolution)
I need to match the resolution of x- and y-axes in matplotlib, so that the linear function y=x would plot as an exactly 45° line, and so that a mathematically plotted circle (r^2=x^2+y^2) would ap[详细]
2023-04-13 02:09 分类:问答How to show two figures using matplotlib?
I have some troubles while drawing two figures at the same time, not shown in a single plot. But according to the documentation, I wrote the code and only the figure one shows.I think maybe I lost som[详细]
2023-04-13 02:04 分类:问答Elegantly changing the color of a plot frame in matplotlib
This is a kind of follow-up question to this post, where the coloring of axes, ticks and labels was discussed. I hope it is alright to open a new, extended question for this.[详细]
2023-04-13 00:58 分类:问答change strength of antialiasing in matplotlib
Is it possible to increa开发者_高级运维se the antialiasing in matplotlib? I can still see some aliasing in my data, I tried several backends and it is still there. The antialiasing flag of the lines i[详细]
2023-04-12 20:10 分类:问答Need help identifying a memory leak involving matplotlib and flask
I have written a small webapp using the flask framework that involves plotting using matplotlib. The problem is that every time I create the plot, the process consumes more memory.[详细]
2023-04-12 17:41 分类:问答ValueError("color kwarg must have one color per dataset")?
I just simply save the data into files and read them out and then draw histogram. However, it appears this mistake though I changed nothing from the original code actually. Could anyone tell me what\'[详细]
2023-04-12 15:50 分类:问答How to create a custom mouse cursor in Matplotlib
I am interested in creating a custom mouse cursor, so that during drag and pick events on certain lines or points, the mouse changes from an arrow to a hand (or other symbol).[详细]
2023-04-12 15:21 分类:问答