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.

Color Rendering Issue on Visual Studio Code

See original GitHub issue

Hi!

Text background and color does not work together

import yfinance as yf
import plotext as plt

plt.date_form('d/m/Y')
start = plt.string_to_datetime('11/06/2022')
end = plt.string_to_datetime('10/10/2022')
data = yf.download('goog', start, end)
dates = plt.datetimes_to_string(data.index)
plt.xlim("10/06/2022", "15/10/2022")
plt.candlestick(dates, data, yside = 2)
plt.hline(100,'red',yside=2)
# If NO  - background='red'  - color black applys.
plt.text(' 100 ',x='12/10/2022',y=100,background='red',color='black',yside=2)
plt.show()

image

If i remove background=‘red’ :

image

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:14 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
ineteyecommented, Oct 9, 2022

Thanks!! Eve-some 😉))

1reaction
piccolomocommented, Oct 9, 2022

got it. Not sure how to help then. If you find a solution, keep reporting please, it may help someone else.

Thanks for reporting

Read more comments on GitHub >

github_iconTop Results From Across the Web

[meta issue] 1.40 update: Font/Color rendering degradation ...
Set "disable-color-correct-rendering" to false and save; Restart VSCode entirely (not just reload window). // argv.json { "disable-color-correct ...
Read more >
Fixing VSCode Color Bug on Linux - Paras Verma
This issue is a weird rendering issue with VSCode on Linux. I found a very simple fix: In VSCode, open Command Palette (Ctrl+Shift+P)...
Read more >
Why are there grey blocks of color on the VS Code editor ...
I started experiencing this issue in my MacBook Pro M1 after the June 2022 autoupdate. Setting "disable-color-correct-rendering": false in ...
Read more >
Color Themes - Visual Studio Code
Changing the color theme in Visual Studio Code. You can use color themes provided by VS Code, the community or create your own...
Read more >
Visual Studio colors mess up - Super User
To fix go to ReSharper Options: Code Inspection/Settings and disable Color identifiers. I don't know the reason they switch on and off, but...
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