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

Dataframe name #472

Draft
wants to merge 29 commits into
base: main
Choose a base branch
from
Draft

Dataframe name #472

wants to merge 29 commits into from

Conversation

jeh362
Copy link
Contributor

@jeh362 jeh362 commented Jul 25, 2024

closes: #469


Issue
An error is raised whenever a dataframe is created without a dataframe_name parameter. Visualizations should be able to be instantiated without any arguments other than their experiments.

Changes
Updated dataframe_plot.py to default dataframe_name to None. If no dataframe_name is passed in, then the dataframe_name is set to the name of the dataframe logged to the the first experiment.

jhui18 and others added 27 commits July 18, 2024 11:49
@jeh362 jeh362 requested review from a team as code owners July 25, 2024 19:24
@@ -43,17 +43,22 @@ class DataframePlot(VizBase):

def __init__(
self,
dataframe_name,
dataframe_name=None,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we please add type hints as we go through these? Thanks.

@stephenpardy
Copy link
Contributor

Is this PR dependent on #471 ?

@jeh362 jeh362 marked this pull request as draft July 30, 2024 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DataframePlot - don't require dataframe_name
3 participants