Skip to content

Commit fb6bb27

Browse files
author
shanedsnyder
authored
Merge pull request #822 from tylerjereddy/treddy_matplotlib_join_dep
MAINT: mpl join() deprecation
2 parents ce45ce8 + 7b4994a commit fb6bb27

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/main_ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
# to check HPC spack installs for example
7474
cd $RUNNER_TEMP
7575
site_packages=$(pip show darshan | grep Location | cut -d ' ' -f 2)
76-
pytest -W error::FutureWarning --pyargs darshan --cov-report xml --cov=$site_packages/darshan
76+
pytest -W error::FutureWarning -W error:"The join function was deprecated in Matplotlib" --pyargs darshan --cov-report xml --cov=$site_packages/darshan
7777
# Python 3.6 doesn't have access to some
7878
# dependencies needed for our type hints
7979
- if: ${{matrix.python-version > 3.6}}

darshan-util/pydarshan/darshan/experimental/plots/data_access_by_filesystem.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -530,10 +530,10 @@ def plot_data(fig: Any,
530530
2,
531531
row * 2 + 2)
532532
if row > 0:
533-
ax_filesystem_bytes.get_shared_x_axes().join(ax_filesystem_bytes, list_byte_axes[row - 1])
533+
ax_filesystem_bytes.sharex(list_byte_axes[row - 1])
534534
if use_log[0]:
535535
ax_filesystem_bytes.set_xscale('symlog')
536-
ax_filesystem_counts.get_shared_x_axes().join(ax_filesystem_counts, list_count_axes[row - 1])
536+
ax_filesystem_counts.sharex(list_count_axes[row - 1])
537537
if use_log[1]:
538538
ax_filesystem_counts.set_xscale('symlog')
539539

0 commit comments

Comments
 (0)