Home >Backend Development >Python Tutorial >Solve the problem that the image display in Spyder is too small
The following article will share with you how to solve the problem of too small image display in Spyder. It has a good reference value and I hope it will be helpful to everyone. Let’s come and take a look
I am currently doing a machine learning assignment and need to draw a decision tree. I ran the code in Spyder and found that the decision tree appeared in Spyder's console, and the picture was very small, and the fonts were stacked together. I searched around the Internet and can't seem to find a solution.
But it doesn’t matter, aren’t there Ipython and Jupyter Notebook in Anaconda? Both of these can pop up windows to display images. cd to the corresponding path and run the previously saved python code in these two.
run XXX.py
Related recommendations:
Solution to the problem that the python Spyder interface cannot be opened
The above is the detailed content of Solve the problem that the image display in Spyder is too small. For more information, please follow other related articles on the PHP Chinese website!