Skip to content

Commit 13b71d9

Browse files
committed
further improve scaling plot rendering
1 parent fbbbb91 commit 13b71d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pypop/notebook_interface/plotting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ def _build_plot(self):
501501
[plot_data[self._yaxis_key].min(), plot_data[self._yaxis_key].max()]
502502
)
503503

504-
xrange_ideal = x_lims
504+
xrange_ideal = x_lims + numpy.asarray([0, numpy.diff(x_lims)[0]*0.1])
505505
yrange_ideal = xrange_ideal / x_lims[0]
506506
yrange_80pc = 0.8 * yrange_ideal + 0.2
507507

0 commit comments

Comments
 (0)