当前位置:网站首页>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,
边栏推荐
- On the day of resignation, jd.com deleted the database and ran away, and the programmer was sentenced
- ESP系列引脚說明圖匯總
- Fibonacci sequence
- 电脑F1-F12用途
- Restore backup data on S3 compatible storage with br
- FairGuard游戏加固:游戏出海热潮下,游戏安全面临新挑战
- logback1.3. X configuration details and Practice
- Day29-t77 & t1726-2022-02-13-don't answer by yourself
- [secretly kill little partner pytorch20 days -day01- example of structured data modeling process]
- 生成器参数传入参数
猜你喜欢
游戏解包的危害及资源加密的重要性
Use Alibaba icon in uniapp
C language custom type: struct
Deep learning: derivation of shallow neural networks and deep neural networks
The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower
个人电脑好用必备软件(使用过)
[MySQL] database stored procedure and storage function clearance tutorial (full version)
Summary of phased use of sonic one-stop open source distributed cluster cloud real machine test platform
[research materials] 2022 China yuancosmos white paper - Download attached
Leetcode question brushing (5.28) hash table
随机推荐
sys.argv
LDAP应用篇(4)Jenkins接入
[secretly kill little partner pytorch20 days -day01- example of structured data modeling process]
电脑F1-F12用途
2022.02.13 - 238. Maximum number of "balloons"
The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower
从表中名称映射关系修改视频名称
软件卸载时遇到trying to use is on a network resource that is unavailable
JVM 快速入门
【Nvidia开发板】常见问题集 (不定时更新)
Ruffian Heng embedded bimonthly, issue 49
Restful API design specification
[research materials] 2022 China yuancosmos white paper - Download attached
Migrate data from SQL files to tidb
Let the bullets fly for a while
Use Alibaba icon in uniapp
2022 Inner Mongolia latest water conservancy and hydropower construction safety officer simulation examination questions and answers
【刷题】牛客网面试必刷TOP101
egg. JS directory structure
pcd转ply后在meshlab无法打开,提示 Error details: Unespected eof