Skip to content

Commit

Permalink
docs(sdk): Remove non-existent argument table_key from plot_table() d…
Browse files Browse the repository at this point in the history
…oc string (#4495)
  • Loading branch information
janosh authored and andrewtruong committed Dec 2, 2022
1 parent 91c5eff commit 97e9845
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion wandb/sdk/wandb_run.py
Expand Up @@ -1787,7 +1787,6 @@ def plot_table(
Arguments:
vega_spec_name: the name of the spec for the plot
table_key: the key used to log the data table
data_table: a wandb.Table object containing the data to
be used on the visualization
fields: a dict mapping from table keys to fields that the custom
Expand Down
2 changes: 1 addition & 1 deletion wandb/viz.py
Expand Up @@ -99,7 +99,7 @@ def custom_chart(
) -> CustomChart:
if not isinstance(data_table, Table):
raise Error(
f"Expected `data_table` to be `wandb.Table` type, instead got {type(data_table).__name__}"
f"Expected `data_table` to be `wandb.Table` type, instead got {type(data_table).__name__}"
)
return CustomChart(
id=vega_spec_name,
Expand Down

0 comments on commit 97e9845

Please sign in to comment.