Commit 31125f2
authored
GR: Fix zscale support in surface plots (#5063)
Previously, `zscale` was being set to a Bool value (the result of the
set membership check). This caused a crash when querying the
`gr_z_log_scales` tuple on the next line, because that array is indexed
by symbols like :log10.
Given that the lines above assign the actual symbols to `xscale` and
`yscale`, it seems likely that `zscale` should behave the same.
Fixes: #50621 parent 5242256 commit 31125f2
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1370 | 1370 | | |
1371 | 1371 | | |
1372 | 1372 | | |
1373 | | - | |
| 1373 | + | |
1374 | 1374 | | |
1375 | 1375 | | |
1376 | 1376 | | |
| |||
0 commit comments