Skip to content

Commit

Permalink
Remove pyright avaliation in some lines of graph-01.py
Browse files Browse the repository at this point in the history
  • Loading branch information
joao-parana committed Sep 10, 2023
1 parent 9f40e78 commit 58f53bf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions graphics/graph-01.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import streamlit as st
from streamlit.delta_generator import DeltaGenerator

import altair as alt
import altair as alt # type: ignore
import pandas as pd
import numpy as np
from sklearn.base import TransformerMixin # type: ignore
Expand Down Expand Up @@ -87,7 +87,8 @@ def build_chart_1(cached:int):
chart_data,
x = 't',
y = ['a', 'a_nan'],
color = ['#5555FF', '#FF0000'] # NaNs em vermelho. O atributo color é opcional
# NaNs em vermelho. O atributo color é opcional
color = ['#5555FF', '#FF0000'] # type: ignore
)
assert isinstance(chart_1, DeltaGenerator)

Expand Down

0 comments on commit 58f53bf

Please sign in to comment.