Matplotlib
How do you set the absolute position of figure windows with matplotlib?
I\'m writing a simple Python application that uses matplotlib to display a few figures on screen. The number of figures gene开发者_运维问答rated is based on user input and changes throughout the appli[详细]
2023-04-05 16:14 分类:问答How can I print a plot in matplotlib either from the plot window or with a command?
is there a way to print a plot from matplotlib,either with a command or from the plot window itself ? I know i could save it and the开发者_开发知识库n print,but I am looking for something more automat[详细]
2023-04-05 09:08 分类:问答Setting correct limits with imshow if image data shape changes
I have a 3D array, of which the first two dimensions are spatial, so say (x,y). The third dimension contains point-specific information.[详细]
2023-04-04 22:40 分类:问答matplotlib.mlab.griddata very slow and returns array of nan when valid data is input
I am trying to map an irregularly gridded dataset (raw satellite data) with associated latitudes and longitudes to a regularly gridded set of latitudes and longitudes given by basemap.makegrid().I am[详细]
2023-04-04 18:56 分类:问答Defining the midpoint of a colormap in matplotlib
I want to set the middle point of a colormap, i.e., my data goes from -5 to 10 and I want zero to be the middle point. I think the way to do it is by subclassing normalize and using the norm, but I di[详细]
2023-04-04 09:05 分类:问答matplotlib - black & white colormap (with dashes, dots etc)
I am using matplotlib to create 2d line-plots. For the purposes of publication, I would like to have those plots in blac开发者_JS百科k and white (not grayscale), and I am struggling to find a non-intr[详细]
2023-04-03 21:40 分类:问答axis range in scatter graphs
I have been using the code below to plot the time spent to run 4 functions. The x axis represents the number of executions whereas the y axis represents the time spent[详细]
2023-04-03 20:47 分类:问答How can I hide the axes in matplotlib 3d?
How can I make a 3D plot without showing the axes? When plotting a 3d plot, Matplotlib not only draws the x, y, and z axes, it draws light gray grids on the x-y, y-z, and x-z planes. I would like to[详细]
2023-04-03 19:53 分类:问答graphing multiple types of plots (line, scatter, bar etc) in the same window
I\'m trying to graph two types of plots in the same window (i.e. a line plot, and a scatter plot). The data being plotted in the line graph (first plot) are floating numerical values representing clim[详细]
2023-04-03 09:53 分类:问答Matplotlib Backend Differences between Agg and Cairo
Hej, I\'d like to produce high quality PDFs from matplotlib plots. Using other code, I have produced a large array of numbers, which I plot in a figure using plt.imshow. If I now produce a PDF using[详细]
2023-04-03 06:32 分类:问答