question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Graph characters not clearing on row change (asciichartpy)?

See original GitHub issue

I didn’t seem to have this problem with a previous version, but since dropping in 1.5.12 (thank you for reimplementing the user specification of characters!), I’ve got this issue where the graph doesn’t clear adjacent rows when it shifts; see screenshot.

asciichartpy bug

When the graph is at its max width and redrawing over a previous graph, it no longer clears these characters when scrolling. I looked at the commit history, and determined this bug is caused by commit e9adb0d, with the addition of the .rstrip() call; when I edited my init.py and removed .rstrip() the graph behaves as it used to.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
DoktorJcommented, Jun 16, 2020

Opened PR #51 for this

0reactions
DoktorJcommented, Nov 13, 2020

BTW it may not be immediately apparent on the test.py runs, but the PR’s graph pads with whitespace all the way out to the end of the graph; the master’s graph has no trailing whitespace. You can see it if you highlight the lines.

Read more comments on GitHub >

github_iconTop Results From Across the Web

asciichartpy - PyPI
Console ASCII line charts in pure Javascript (for NodeJS and browsers) with no dependencies. This code is absolutely free for any usage, ...
Read more >
Remove non-ASCII characters from pandas column
You code fails as you are not applying it on each character, ... Using regex, it globally removes characters not in the range...
Read more >
Simple Index
100-working-free-clash-royal-gems-hack-generator-no-verify ... accessible-graphs · accessible-output ... alibabacloud-qt-change-service20211201
Read more >
conda-forge - :: Anaconda.org
adl2pydm, 0.0.4, BSD-4-Clause, X, Convert MEDM's .adl files to PyDM's .ui format. ... BSD-2-Clause, X, A library for graphing charts using ascii characters....
Read more >
Simple index - piwheels
... odoo-addon-purchase-order-qty-change-no-recompute area-detector-handlers metatrader5easyt laguerre-transformations http2json django-pycdi djangospider ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found