mirror of
https://github.com/ratatui-org/ratatui
synced 2024-11-22 12:43:16 +00:00
Fix some examples that accidentally changed color
This commit is contained in:
parent
21e79ca078
commit
b079d4da4c
1 changed files with 2 additions and 2 deletions
|
@ -79,7 +79,7 @@ fn main() -> Result<(), failure::Error> {
|
|||
.x_axis(
|
||||
Axis::default()
|
||||
.title("X Axis")
|
||||
.style(Style::default().fg(Color::White))
|
||||
.style(Style::default().fg(Color::Gray))
|
||||
.labels_style(Style::default().modifier(Modifier::ITALIC))
|
||||
.bounds(app.window)
|
||||
.labels(&[
|
||||
|
@ -91,7 +91,7 @@ fn main() -> Result<(), failure::Error> {
|
|||
.y_axis(
|
||||
Axis::default()
|
||||
.title("Y Axis")
|
||||
.style(Style::default().fg(Color::White))
|
||||
.style(Style::default().fg(Color::Gray))
|
||||
.labels_style(Style::default().modifier(Modifier::ITALIC))
|
||||
.bounds([-20.0, 20.0])
|
||||
.labels(&["-20", "0", "20"]),
|
||||
|
|
Loading…
Reference in a new issue