Skip to content

Commit 589aee1

Browse files
JohnPatonColCarroll
authored andcommitted
Remove use of matplotlib Axes.set_ylim keyword ymin (#3279) (#3280)
* Remove use of ymin matplotlib keyword * Documented fix of #3279 in release notes
1 parent d3ab373 commit 589aee1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

RELEASE-NOTES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
- Big rewrite of documentation (#3275)
1717
- Fixed Triangular distribution `c` attribute handling in `random` and updated sample codes for consistency (#3225)
1818
- Refactor SMC and properly compute marginal likelihood (#3124)
19+
- Removed use of deprecated `ymin` keyword in matplotlib's `Axes.set_ylim` (#3279)
1920

2021
### Deprecations
2122

pymc3/plots/traceplot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def traceplot(trace, varnames=None, transform=identity_transform, figsize=None,
142142
ax[i, j].relim()
143143
ax[i, j].autoscale_view(True, True, True)
144144
ax[i, 1].set_xlim(x0, x0 + width)
145-
ax[i, 0].set_ylim(ymin=0)
145+
ax[i, 0].set_ylim(bottom=0)
146146
if live_plot:
147147
ax[0, 0].figure.canvas.draw()
148148
plt.tight_layout()

0 commit comments

Comments
 (0)