Skip to content

Commit

Permalink
Extends and fixes minor plotting/table issues
Browse files Browse the repository at this point in the history
  • Loading branch information
vulder committed Oct 20, 2023
1 parent d11b128 commit ba32cad
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion varats/varats/plots/scatter_plot_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ def multivariate_grid(
y: str,
hue: str,
global_kde: bool = True,
legend: bool = True,
**kwargs: tp.Any
) -> sns.JointGrid:
"""
Expand Down Expand Up @@ -84,7 +85,7 @@ def multivariate_grid(
color='grey',
warn_singular=False
)
if len(grouped_data) > 1:
if len(grouped_data) > 1 and legend:
plt.legend(legends)

return grid
6 changes: 5 additions & 1 deletion varats/varats/tables/time_workloads.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,11 @@ def wall_clock_time_in_msecs(
kwargs["column_format"] = "llr|rr|r|r"

return dataframe_to_table(
df, table_format, wrap_table, wrap_landscape=True, **kwargs
df,
table_format,
wrap_table=wrap_table,
wrap_landscape=True,
**kwargs
)


Expand Down

0 comments on commit ba32cad

Please sign in to comment.