Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/google/deepvariant
/ sample_chart
Function
sample_chart
deepvariant/dashboard_utils_test.py:39–41 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
37
38
39
def
sample_chart():
40
df = pd.DataFrame({
'A'
: [1, 2],
'B'
: [10, 20]})
41
return
alt.Chart(df).mark_point().encode(x=
'A'
, y=
'B'
)
42
43
44
class
DashboardUtilsTest(parameterized.TestCase):
Callers
2
test_create_html_report
Method · 0.85
test_throws_error_on_wrong_input_format
Method · 0.85
Calls
1
encode
Method · 0.80
Tested by
no test coverage detected