当前位置:网站首页>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,
边栏推荐
- [cloud native] teach you how to build ferry open source work order system
- LDAP应用篇(4)Jenkins接入
- Tidb backup and recovery introduction
- China's high purity aluminum target market status and investment forecast report (2022 Edition)
- [luatos-air551g] 6.2 repair: restart caused by line drawing
- win10系统中的截图,win+prtSc保存位置
- JS pure function
- 【Nvidia开发板】常见问题集 (不定时更新)
- 2022.02.13 - 238. Maximum number of "balloons"
- Use br to back up tidb cluster data to S3 compatible storage
猜你喜欢
Fibonacci sequence
[research materials] 2021 Research Report on China's smart medical industry - Download attached
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
What is CSRF (Cross Site Request Forgery)?
2022 Inner Mongolia latest water conservancy and hydropower construction safety officer simulation examination questions and answers
【ROS】usb_cam相机标定
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
Analysis of the source code of cocos2d-x for mobile game security (mobile game reverse and protection)
【MySQL】日志
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 learning record 10getting started with JDBC
Ruffian Heng embedded bimonthly, issue 49
Migrate data from SQL files to tidb
[2022 Guangdong saim] Lagrange interpolation (multivariate function extreme value divide and conquer NTT)
优秀的软件测试人员,都具备这些能力
VMware virtualization cluster
JVM performance tuning and practical basic theory - Part 1
[MySQL] log
Analysis of the source code of cocos2d-x for mobile game security (mobile game reverse and protection)
堆排序详解
gcc动态库fPIC和fpic编译选项差异介绍
Leetcode skimming (5.29) hash table
生成器参数传入参数
China polyether amine Market Forecast and investment strategy report (2022 Edition)
Char to leading 0
IOT -- interpreting the four tier architecture of the Internet of things
C语言深度解剖——C语言关键字
Golang force buckle leetcode 1020 Number of enclaves
Online yaml to CSV tool
Résumé des diagrammes de description des broches de la série ESP