Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The color of log contents is not correct on log output panel #1325

Open
Zhirong2022 opened this issue Dec 16, 2024 · 0 comments
Open

The color of log contents is not correct on log output panel #1325

Zhirong2022 opened this issue Dec 16, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Zhirong2022
Copy link
Collaborator

Describe the bug
Open VSC SAS Extension base on Main branch. Run a certain code, the color of the log contents is not correct.

Steps to reproduce
1.Sign in with a valid Viya connection
2.Create a .sas file
3.Type code below

proc python echo;
interactive;
import matplotlib.pyplot as plt
import numpy as np

plt.style.use('_mpl-gallery-nogrid')

# make data:
X, Y = np.meshgrid([1, 2, 3, 4], [1, 2, 3, 4])
angle = np.pi / 180 * np.array([[15., 30, 35, 45],
                                [25., 40, 55, 60],
                                [35., 50, 65, 75],
                                [45., 60, 75, 90]])
amplitude = np.array([[5, 10, 25, 50],
                        [10, 15, 30, 60],
                        [15, 26, 50, 70],
                        [20, 45, 80, 100]])
U = amplitude * np.sin(angle)
V = amplitude * np.cos(angle)

# plot:
fig, ax = plt.subplots()

ax.barbs(X, Y, U, V, barbcolor='C0', flagcolor='C0', length=7, linewidth=1.5)

ax.set(xlim=(0, 4.5), ylim=(0, 4.5))

SAS.pyplot(plt)

endinteractive;
run;

4.Run code

Expected behavior
The color of the log contents is correct on log output panel

Screenshots
image

Environment (please complete the following information):
Client OS: [e.g. Windows 11]
Extension version: [e.g. v1.12.0]

@Zhirong2022 Zhirong2022 added the bug Something isn't working label Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant