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

2
  • Choose another temrinal emulator. Commented Jul 11, 2023 at 4:30
  • Which one would work? Commented Jul 11, 2023 at 4:54

1 Answer 1

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

Sign up to request clarification or add additional context in comments.

1 Comment

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.