Skip to content

Commit

Permalink
Merge pull request #905 from rzellem/issue_892
Browse files Browse the repository at this point in the history
Updated requirements for matplotlib v3.5
  • Loading branch information
rzellem authored Nov 2, 2021
2 parents 49d7013 + 2d55390 commit c86b20c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions exotic/plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ def plot_fov(aper, annulus, sigma, x_targ, y_targ, x_ref, y_ref, image, image_sc
ref_circle = plt.Circle((x_ref, y_ref), aper, color='r', fill=False, ls='-.', label='Comp')
ref_circle_sky = plt.Circle((x_ref, y_ref), aper + annulus, color='r', fill=False, ls='--', lw=.5)
med_img = median_filter(image, (4, 4))[int(pltx[0]):round(int(pltx[1])), int(plty[0]):round(int(plty[1]))]
norm = ImageNormalize(image, interval=ZScaleInterval(), stretch=stretch)
plt.imshow(image, norm=norm, origin='lower', cmap='Greys_r', interpolation=None,
vmin=np.nanpercentile(med_img, 5), vmax=np.nanpercentile(med_img, 99))
norm = ImageNormalize(image, interval=ZScaleInterval(), stretch=stretch, vmin=np.nanpercentile(med_img, 5),
vmax=np.nanpercentile(med_img, 99))
plt.imshow(image, norm=norm, origin='lower', cmap='Greys_r', interpolation=None)
plt.plot(x_targ, y_targ, marker='+', color='lime')
ax.add_artist(target_circle)
ax.add_artist(target_circle_sky)
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dynesty~=1.1 ; platform_system == "Windows"
holoviews~=1.14
LDTk~=1.7
lmfit~=1.0
matplotlib>=3.2
matplotlib>=3.4
numpy~=1.21.3
pandas~=1.3
panel~=0.12
Expand Down

0 comments on commit c86b20c

Please sign in to comment.