You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'll not get any error, but there is nothing showing in VSCode after that:
Reason? There is a mistake in x and y arguments assignment, the correct is y="name", x="importance". But, it's very easy to oversee this typo and spend a lot of time trying to figure it out.
How can we help?
check that the bar_horizontal template expects numerical data for x
3. Provide good warning messages and hints if formats incompatible
If we have data/args checks, we may tell about this in warning messages and this will help a lot to see smth like:
Data provided for x has str type bit numerical data type is expected
The text was updated successfully, but these errors were encountered:
When people start using
Live.log_plot()
, they could struggle with getting an expected visualization because of 2 reasonslog_plot()
is very opinionated about the data format required for every templateHere are some ideas to help with DVCLive onboarding:
1. "Relax" requirements for data formats supported
For example, the
bar_horizontal
template expects smth like this:It would be cool to support other formats like:
y' and values as
x.`2. Provide minimal sanity checks for data/configs provides
For example, if I run this code snippet:
I'll not get any error, but there is nothing showing in VSCode after that:
Reason? There is a mistake in
x
andy
arguments assignment, the correct isy="name", x="importance"
. But, it's very easy to oversee this typo and spend a lot of time trying to figure it out.How can we help?
bar_horizontal
template expects numerical data forx
3. Provide good warning messages and hints if formats incompatible
If we have data/args checks, we may tell about this in warning messages and this will help a lot to see smth like:
The text was updated successfully, but these errors were encountered: