약 3,270,000개의 결과
새 탭에서 링크를 여세요.
  1. 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.

  2. python - Named colors in matplotlib - Stack Overflow

    What named colors are available in matplotlib for use in plots? I can find a list on the matplotlib documentation that claims that these are the only names: b: blue g: green r: red c: cyan m: mag...

  3. python - plot a circle with Matplotlib.pyplot - Stack Overflow

    surprisingly I didn't find a straight-forward description on how to draw a circle with matplotlib.pyplot (please no pylab) taking as input center (x,y) and radius r. I tried some …

  4. matplotlib - set ticks with logarithmic scale - Stack Overflow

    It seems that the set_xticks is not working in log scale: from matplotlib import pyplot as plt fig1, ax1 = plt.subplots() ax1.plot([10, 100, 1000], [1,2,3]) ax1.set_xscale('log') ax1.set_xticks([20...

  5. python - How to show matplotlib plots? - Stack Overflow

    I am sure the configuration of matplotlib for python is correct since I have used it to plot some figures. But today it just stop working for some reason. I tested it with really simple code like: ...

  6. matplotlib - Python - How to show graph in Visual Studio Code …

    2018년 4월 24일 · import matplotlib.pyplot as plt import matplotlib as mpl import numpy as np x = np.linspace(0, 20, 100) plt.plot(x, np.sin(x)) plt.show() I see the result in a new window. Is there …

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

    40 I came across this question as I had exact same problem. Although accepted answer works good but with matplotlib version 2.1.0, it is pretty straight forward to have two scatter plots in …

  8. python - Purpose of "%matplotlib inline" - Stack Overflow

    2017년 3월 26일 · %matplotlib inline sets the backend of matplotlib to the 'inline' backend: With this backend, the output of plotting commands is displayed inline within frontends like the …

  9. Matplotlib: draw grid lines behind other graph elements

    fig = pylab.figure() ax = fig.add_subplot(1,1,1) ax.yaxis.grid(color='gray', linestyle='dashed') however, I can't find out how (or even if it is possible) to make the grid lines be drawn behind …

  10. ImportError: No module named matplotlib.pyplot [duplicate]

    2013년 8월 12일 · Traceback (most recent call last): File "./plot_test.py", line 3, in <module> import matplotlib.pyplot as plt ImportError: No module named matplotlib.pyplot Does python look for …