fail to display block element correctly in terminal

68 Views Asked by At

When I use plotext to plot graph in Linux terminial which is connected via ssh, I find that it fails to display block elements correctly.

Here is the command I use

python3 -c "import plotext as plt; y = plt.sin(); plt.scatter(y); plt.title('Scatter Plot'); plt.show()"

And the output is enter image description here

Some of the block elements, for examples ▝,▖ are displayed as question mark.

Is there anything I can do to make it right? My terminal setting is TERM=xterm-256color

Update

Turn out to be the problem of ConEmu

1

There are 1 best solutions below

1
link89 On

Turn out to be a problem of ConEmu, it can be fixed by the method provided here: https://github.com/Maximus5/ConEmu/issues/1381