Skip to content

Commit

Permalink
fix(preview): Fix issue in previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswmackey committed Jan 6, 2025
1 parent 62c1b2e commit 0a7084c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ladybug_rhino/preview.py
Original file line number Diff line number Diff line change
Expand Up @@ -790,7 +790,7 @@ def convert_legend2d(legend, vw=None, vh=None):
l_par = legend.legend_parameters
color_mtx = legend.color_map_2d(vw, vh)
color_mtx = [[color_to_color(c) for c in row] for row in color_mtx]
if (8, 14) <= rhino_version <= (8, 15):
if (8, 14) <= rhino_version < (8, 16):
color_mtx = list(reversed(color_mtx))
net_bm = System.Drawing.Bitmap(len(color_mtx[0]), len(color_mtx))
for y, row in enumerate(color_mtx):
Expand Down

0 comments on commit 0a7084c

Please sign in to comment.