当前位置:网站首页>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,

边栏推荐
- What is the use of entering the critical point? How to realize STM32 single chip microcomputer?
- Personalized online cloud database hybrid optimization system | SIGMOD 2022 selected papers interpretation
- China high purity silver nitrate Market Research and investment strategy report (2022 Edition)
- Restful API design specification
- Research Report on supply and demand and development prospects of China's high purity aluminum market (2022 Edition)
- vulnhub hackme: 1
- Function coritization
- 2022 Inner Mongolia latest water conservancy and hydropower construction safety officer simulation examination questions and answers
- Roguelike游戏成破解重灾区,如何破局?
- Online yaml to CSV tool
猜你喜欢

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

On the day of resignation, jd.com deleted the database and ran away, and the programmer was sentenced

Analysis of pointer and array written test questions

Circular reference of ES6 module

延迟初始化和密封类

优秀的软件测试人员,都具备这些能力
![Verrouillage [MySQL]](/img/ce/9f8089da60d9b3a3f92a5e4eebfc13.png)
Verrouillage [MySQL]

Ruffian Heng embedded bimonthly, issue 49

leetcode刷题 (5.28) 哈希表

指针进阶---指针数组,数组指针
随机推荐
Use Alibaba icon in uniapp
【MySQL】锁
[research materials] 2022 enterprise wechat Ecosystem Research Report - Download attached
Report on Market Research and investment prospects of China's silver powder industry (2022 Edition)
VMware 虚拟化集群
MySQL learning record 07 index (simple understanding)
【ROS】usb_cam相机标定
Cisp-pte practice explanation
visdom可视化实现与检查介绍
ESP series pin description diagram summary
ROS编译 调用第三方动态库(xxx.so)
egg. JS project deployment online server
Let the bullets fly for a while
PLT in Matplotlib tight_ layout()
如何进行接口测试测?有哪些注意事项?保姆级解读
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
Roguelike游戏成破解重灾区,如何破局?
从表中名称映射关系修改视频名称
logback1.3. X configuration details and Practice
Online yaml to CSV tool