Skip to main content
Stack Overflow
  1. About
  2. For Teams

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

fail to display block element correctly in terminal

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

Answer*

Draft saved
Draft discarded
Cancel
1
  • 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. Commented Jul 23, 2023 at 13:21

AltStyle によって変換されたページ (->オリジナル) /