当前位置:网站首页>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,
边栏推荐
- MySQL learning record 11jdbcstatement object, SQL injection problem and Preparedstatement object
- 【MySQL】日志
- JS pure function
- C language - bit segment
- Grayscale upgrade tidb operator
- JVM 快速入门
- [cloud native] teach you how to build ferry open source work order system
- tree树的精准查询
- torch建立的网络模型使用torchviz显示
- 2022.02.13 - NC001. Reverse linked list
猜你喜欢
[research materials] 2022 enterprise wechat Ecosystem Research Report - Download attached
Leetcode question brushing (5.28) hash table
Analysis of pointer and array written test questions
ROS编译 调用第三方动态库(xxx.so)
egg. JS project deployment online server
Summary of phased use of sonic one-stop open source distributed cluster cloud real machine test platform
Configuring OSPF load sharing for Huawei devices
sublime text没关闭其他运行就使用CTRL+b运行另外的程序问题
Verrouillage [MySQL]
CISP-PTE实操练习讲解
随机推荐
MySQL learning records 12jdbc operation transactions
Image,cv2读取图片的numpy数组的转换和尺寸resize变化
Research Report on supply and demand and development prospects of China's high purity aluminum market (2022 Edition)
China Light conveyor belt in-depth research and investment strategy report (2022 Edition)
leetcode刷题 (5.28) 哈希表
Let the bullets fly for a while
Bottom up - physical layer
What is the use of entering the critical point? How to realize STM32 single chip microcomputer?
gcc动态库fPIC和fpic编译选项差异介绍
[research materials] 2021 live broadcast annual data report of e-commerce - Download attached
JS inheritance method
【刷题】牛客网面试必刷TOP101
【MySQL】锁
Online yaml to CSV tool
sys.argv
查看局域网中电脑设备
JS native implementation shuttle box
[2022 Guangdong saim] Lagrange interpolation (multivariate function extreme value divide and conquer NTT)
Leetcode question brushing (5.31) string
[research materials] 2022 enterprise wechat Ecosystem Research Report - Download attached