Skip to content

Commit

Permalink
Update prod tf version to 2.11 (#2110)
Browse files Browse the repository at this point in the history
  • Loading branch information
uri-granta committed Jun 13, 2024
1 parent 6467581 commit 61c1729
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ parameters:
default: "2.4.0"
prod_tf_ver:
type: string
default: "2.8.4"
default: "2.11.1"
max_tf_ver:
type: string
default: "2.16.1"
Expand All @@ -24,7 +24,7 @@ parameters:
default: "0.12.0"
prod_tfp_ver:
type: string
default: "0.16.0"
default: "0.19.0"
max_tfp_ver:
type: string
default: "0.24.0"
Expand Down
7 changes: 5 additions & 2 deletions benchmark/plotters.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@
from math import isnan
from typing import Collection, Tuple

import matplotlib
import pandas as pd
from matplotlib.axes import Axes
from matplotlib.dates import date2num
from packaging.version import Version

from benchmark.grouping import GroupingKey, GroupingSpec, group
from benchmark.metadata import BenchmarkMetadata, parse_timestamp
Expand Down Expand Up @@ -85,8 +87,9 @@ def metrics_box_plot(
for key, df, _ in group(metrics_df, [], metadata, line_by):
labels.append(_join_key(key))
values.append(df.value)
ax.boxplot(values, labels=labels)

# cf https://github.com/matplotlib/matplotlib/pull/27901
label_id = "tick_labels" if Version(matplotlib.__version__) >= Version("3.9.0") else "labels"
ax.boxplot(values, **{label_id: labels}) # type: ignore[arg-type]
_shared_ax_config(ax, file_key, column_key, row_key, metric)


Expand Down

0 comments on commit 61c1729

Please sign in to comment.