当前位置:网站首页>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,
边栏推荐
- 从表中名称映射关系修改视频名称
- Sort according to a number in a string in a column of CSV file
- Leetcode skimming (5.29) hash table
- Synchronized solves problems caused by sharing
- JS native implementation shuttle box
- [MySQL] database stored procedure and storage function clearance tutorial (full version)
- Modify the video name from the name mapping relationship in the table
- 2022 Inner Mongolia latest construction tower crane (construction special operation) simulation examination question bank and answers
- Pointer advanced --- pointer array, array pointer
- Deep learning: derivation of shallow neural networks and deep neural networks
猜你喜欢
随机推荐
LDAP application (4) Jenkins access
Image fusion -- challenges, opportunities and Countermeasures
The mysqlbinlog command uses
Image,cv2读取图片的numpy数组的转换和尺寸resize变化
MySQL learning record 10getting started with JDBC
[brush questions] top101 must be brushed in the interview of niuke.com
leetcode刷题 (5.31) 字符串
PLT in Matplotlib tight_ layout()
深度剖析C语言数据在内存中的存储
查看局域网中电脑设备
torch建立的网络模型使用torchviz显示
Sort according to a number in a string in a column of CSV file
Restore backup data on S3 compatible storage with tidb lightning
Online yaml to CSV tool
Research Report on supply and demand and development prospects of China's high purity aluminum market (2022 Edition)
ESP系列引脚说明图汇总
China Light conveyor belt in-depth research and investment strategy report (2022 Edition)
Day29-t77 & t1726-2022-02-13-don't answer by yourself
gcc动态库fPIC和fpic编译选项差异介绍
Deep learning: derivation of shallow neural networks and deep neural networks