0

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

link89
  • 1,064
  • 10
  • 13

1 Answers1

1

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

link89
  • 1,064
  • 10
  • 13
  • Just to clarify. It's a problem of the Font you tried to use in ConEmu. The ConEmu cannot magically render glyphs which are absent in the Font you've selected. – Maximus Jul 23 '23 at 13:21