We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6951236 commit 3ddc08bCopy full SHA for 3ddc08b
src/histolytics/utils/plot.py
@@ -240,8 +240,8 @@ def legendgram(
240
241
# Check if breaks are provided, if not, calculate them
242
if breaks is None:
243
- min_val = int(np.round((y.min()), 1))
244
- max_val = int(np.round((y.max()), 1))
+ min_val = np.round((y.min()), 1)
+ max_val = np.round((y.max()), 1)
245
step = np.round(((max_val - min_val) / n_bins), 3)
246
breaks = np.arange(min_val, max_val, step)
247
0 commit comments