About 89,000 results
Open links in new tab
  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 - Adding a matplotlib legend - Stack Overflow

    How can one create a legend for a line graph in Matplotlib's PyPlot without creating any extra variables? Please consider the graphing script below: if __name__ == '__main__': PyPlot.plot(length,

  3. python - How to install matplotlib - Stack Overflow

    Matplotlib supports python 3.x as of version 1.2, released in January, 2013. To install it, have a look at the installation instructions. In general, call pip install matplotlib or use your preferred mechanism …

  4. How to change fonts in matplotlib (python)? - Stack Overflow

    It sounds as an easy problem but I do not find any effective solution to change the font (not the font size) in a plot made with matplotlib in python. I found a couple of tutorials to change the d...

  5. Make bold the lines around a plot matplotib [duplicate]

    Feb 1, 2023 · Make bold the lines around a plot matplotib [duplicate] Asked 2 years, 10 months ago Modified 2 years, 10 months ago Viewed 1k times

  6. matplotlib: colorbars and its text labels - Stack Overflow

    Learn how to manage colorbars and their text labels in matplotlib for effective data visualization and customization.

  7. ImportError: No module named matplotlib.pyplot - Stack Overflow

    Aug 12, 2013 · I am currently practicing matplotlib. This is the first example I practice. #!/usr/bin/python import matplotlib.pyplot as plt radius = [1.0, 2.0, 3.0, 4.0] area = [3.14159, 12.56636, 28.27431, 50...

  8. Stop matplotlib repeating labels in legend - Stack Overflow

    Here is a very simplified example: xvalues = [2,3,4,6] for x in xvalues: plt.axvline(x,color='b',label='xvalues') plt.legend() The legend will now show 'xvalues' as a blue line 4 …

  9. Python installation error no matching distribution found for pyplot

    Try reinstalling matplotlib from here. It doesn't matter if you're on a 64 bit computer (I am as well). What matters is which version of Python did you install? If you installed the 32-bit (recommended as it's …

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

    Mar 26, 2017 · None of the responses to OP's question make sense to me. The default behavior (i.e., without using %matplotlib inline) is to display plots "inline." I've never in my life encountered a …