About 441,000 results
Open links in new tab
  1. python - How to remove xticks from a plot - Stack Overflow

    How to remove xticks from a plot Asked 13 years, 2 months ago Modified 1 year, 9 months ago Viewed 843k times

  2. python - How to plot multiple functions on the same figure - Stack …

    167 How can I plot the following 3 functions (i.e. sin, cos and the addition), on the domain t, in the same figure?

  3. python - surface plots in matplotlib - Stack Overflow

    I have evenly spaced data that is in 3 1-D arrays instead of the 2-D arrays that matplotlib 's plot_surface wants. My data happened to be in a pandas.DataFrame so here is the matplotlib.plot_surface …

  4. python - How to add hovering annotations to a plot - Stack Overflow

    I am using matplotlib to make scatter plots. Each point on the scatter plot is associated with a named object. I would like to be able to see the name of an object when I hover my cursor over the p...

  5. python - How to make two plots side-by-side - Stack Overflow

    import matplotlib.pyplot as plt import matplotlib import seaborn as sns sns.set_style("darkgrid") %matplotlib inline #15 by 15 size set for entire plots plt.figure(figsize=(15,15)); #Set rows variable to …

  6. python - How do I plot in real-time in a while loop? - Stack Overflow

    I am trying to plot some data from a camera in real time using OpenCV. However, the real-time plotting (using matplotlib) doesn't seem to be working. I've isolated the problem into this simple exa...

  7. python - Multiple datasets on the same scatter plot - Stack Overflow

    Although accepted answer works good but with matplotlib version 2.1.0, it is pretty straight forward to have two scatter plots in one plot without using a reference to Axes

  8. python - Setting different color for each series in scatter plot ...

    from matplotlib import pyplot as plt plt.scatter(X,Y1,color='red') plt.scatter(X,Y2,color='blue') plt.show() How can I do this with 10 sets? I searched for this and could find any reference to what I'm asking. …

  9. python - How to set the axis limits in Matplotlib? - Stack Overflow

    I need help with setting the limits of y-axis on matplotlib. Here is the code that I tried, unsuccessfully. import matplotlib.pyplot as plt plt.figure (1, figsize = (8.5,11)) plt.suptitle ('plot tit...

  10. python - How to plot a single point in matplotlib - Stack Overflow

    31 matplotlib.pyplot.plot and matplotlib.axes.Axes.plot plots y versus x as lines and/or markers. ax.plot(105, 200) attempts to draw a line, but two points are required for a line plt.plot([105, 110], …