83
100
In Visual Studio Code Jupyter Notebooks you may see something like this: in order to show the plot you may click on the symbol to the left and change the the …
  • Safe
  • United States
  • Encrypted
  • 20 yrs old
  • 88 Site Rank
  • Report Card

83
100
Everything has been installed correctly from the looks of it, but after opening up VSCode, the following line gives me a problem still: import matplotlib.pyplot as plt. …
  • Safe
  • United States
  • Encrypted
  • 20 yrs old
  • 88 Site Rank
  • Report Card

83
100
To use it simply call plt.tight_layout () just before plt.show () But this won't solve the problem of there being lots of text on your figure. You could try and save text by …
  • Safe
  • United States
  • Encrypted
  • 20 yrs old
  • 88 Site Rank
  • Report Card

83
100
Webimport matplotlib.pyplot as plt plt.plot([1,2,3], [10, 20, 30]) plt.show() I solved by opening VSCode Settings (JSON) and changing "terminal.integrated.inheritEnv" to true. I guess …
  • Safe
  • United States
  • Encrypted
  • 20 yrs old
  • 88 Site Rank
  • Report Card

83
100
0. Your IDE (Visual Studio Code) is using some environment to run python: it can be anaconda, and it can be something different. The fact that you installed it on …
  • Safe
  • United States
  • Encrypted
  • 20 yrs old
  • 88 Site Rank
  • Report Card

83
100
The plot cannot be seen (usually a pop-up window appears showing the plot). But when the program is ran in the Ubuntu terminal, the plot can be seen as a pop …
  • Safe
  • United States
  • Encrypted
  • 20 yrs old
  • 88 Site Rank
  • Report Card

83
100
Why matplotlib is not working on the VSCode. I wrote a basic plotting code and I run it on the VS code my somehow the program cannot run it. I deleted python …
  • Safe
  • United States
  • Encrypted
  • 20 yrs old
  • 88 Site Rank
  • Report Card

83
100
Webimport matplotlib.pyplot as plt plt.plot([1,2,3,4,5]) plt.show() plt.plot([2,2,2,2,2]) plt.show() But the second plot does not show up unless I close the first plot. Similarly for a larger …
  • Safe
  • United States
  • Encrypted
  • 20 yrs old
  • 88 Site Rank
  • Report Card

83
100
Generating matplotlib chart in vscode isn't working. I'm following the tutorial here: https://code.visualstudio.com/docs/datascience/data-science-tutorial. At step 10, I …
  • Safe
  • United States
  • Encrypted
  • 20 yrs old
  • 88 Site Rank
  • Report Card

77
100
WebRunning the command will install matplotlib, and any packages it depends on (in this case that includes numpy ). Choose the Packages tab. Consent to elevation if prompted to do …
  • Safe
  • Singapore
  • Encrypted
  • 33 yrs old
  • 4 Site Rank
  • Report Card

See more