Skip to content

Commit

Permalink
Fix example for latest matplotlib
Browse files Browse the repository at this point in the history
  • Loading branch information
HKaras committed Jan 9, 2025
1 parent 93c6c8e commit 69a370c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions examples/advanced/ex_dipolarpathways_selection.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import numpy as np
import matplotlib.pyplot as plt
from matplotlib.gridspec import GridSpec
from mpl_toolkits.axes_grid1.inset_locator import inset_axes, InsetPosition
import deerlab as dl


Expand Down Expand Up @@ -79,9 +78,7 @@
Pfit = fits[n].P
Pci = fits[n].PUncert.ci(95)
# Setup the inset plot
axins = inset_axes(ax1,width="30%", height="30%", loc='upper left')
ip = InsetPosition(ax1,[0.35, 0.17+0.24*n, 0.6, 0.1])
axins.set_axes_locator(ip)
axins = ax1.inset_axes([0.35, 0.17+0.24*n, 0.6, 0.1])
axins.yaxis.set_ticklabels([])
axins.yaxis.set_visible(False)
# Plot the distance distributions and their confidence bands
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
'joblib>=1.0.0',
'dill>=0.3.0',
'tqdm>=4.51.0',
'matplotlib>=3.3.4',
'matplotlib>=3.6.0',
'memoization>=0.3.1',
'pytest>=6.2.2',
'setuptools>=53.0.0',
Expand Down

0 comments on commit 69a370c

Please sign in to comment.