当前位置:网站首页>Sublime text in CONDA environment plt Show cannot pop up the problem of displaying pictures
Sublime text in CONDA environment plt Show cannot pop up the problem of displaying pictures
2022-07-06 08:32:00 【MAR-Sky】
stay sublilme text(ST) Enter the following simple program , But there is no pop-up picture
Determine the work completed :
- Used The library is already installed To the corresponding environment
- Use conda Of ptython Setting and starting the environment , Reference resources :https://blog.csdn.net/weixin_43794311/article/details/124642874
- Good configuration conda Of python Compilation conditions in the environment
import matplotlib.pyplot as plt
from PIL import Image
img = Image.open('1.jpg')#.convert('1')
plt.figure("beauty")
plt.imshow(img,)
plt.axis('off')
plt.show()
Reference resources :https://www.zhihu.com/question/20539058/answer/1507424142
In the past, I didn't spend much time ST Use plt.show() display picture , It is found that there is a problem in the third step , Solve the problem through the following settings
Modify in the opened configuration file , Note that there should be a comma after each command when modifying , Otherwise there will be problems
"run_through_shell": true,
边栏推荐
- Migrate data from a tidb cluster to another tidb cluster
- 2022.02.13 - NC002. sort
- JS pure function
- Cisp-pte practice explanation
- leetcode刷题 (5.28) 哈希表
- 【刷题】牛客网面试必刷TOP101
- Precise query of tree tree
- China high purity silver nitrate Market Research and investment strategy report (2022 Edition)
- Research and investment forecast report of citronellol industry in China (2022 Edition)
- pcd转ply后在meshlab无法打开,提示 Error details: Unespected eof
猜你喜欢
[research materials] 2021 Research Report on China's smart medical industry - Download attached
[research materials] 2022 China yuancosmos white paper - Download attached
Synchronized solves problems caused by sharing
Precise query of tree tree
synchronized 解决共享带来的问题
JS inheritance method
查看局域网中电脑设备
深度剖析C语言指针
2022 Inner Mongolia latest construction tower crane (construction special operation) simulation examination question bank and answers
Let the bullets fly for a while
随机推荐
On the inverse order problem of 01 knapsack problem in one-dimensional state
Colorlog combined with logging to print colored logs
【MySQL】日志
C语言深度解剖——C语言关键字
Chrome浏览器的crash问题
Vocabulary notes for postgraduate entrance examination (3)
Use Alibaba icon in uniapp
根据csv文件某一列字符串中某个数字排序
Research Report on supply and demand and development prospects of China's high purity aluminum market (2022 Edition)
[secretly kill little partner pytorch20 days -day01- example of structured data modeling process]
查看局域网中电脑设备
leetcode刷题 (5.28) 哈希表
On the day of resignation, jd.com deleted the database and ran away, and the programmer was sentenced
电脑清理,删除的系统文件
PLT in Matplotlib tight_ layout()
The resources of underground pipe holes are tight, and the air blowing micro cable is not fragrant?
Char to leading 0
Circular reference of ES6 module
2022.02.13 - NC002. sort
Leetcode question brushing (5.31) string