Changes between Version 4 and Version 5 of Ticket #32560
- Timestamp:
- 10/14/21 14:13:48 (9 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #32560
-
Property
Status
changed from
new
toneeds_review
-
Property
Authors
changed from
to
Laith Rastanawi
-
Property
Branch
changed from
to
public/32560
-
Property
Commit
changed from
to
36813911e27d5c31842016a28fe582c03e28497a
-
Property
Status
changed from
-
Ticket #32560 – Description
v4 v5 9 9 10 10 This behavior is unexpected since the user provided the scaling they want. 11 ~~This behavior is also not documented. ~~I looked into the file `threejs_template.html` and I found the lines responsible for this behavior:11 I looked into the file `threejs_template.html` and I found the lines responsible for this behavior: 12 12 {{{ 13 13 var autoAspect = 2.5; … … 15 15 }}} 16 16 17 It turned out that the aut matic scaling was introduced in #12402. I quote the following text from that ticket:17 It turned out that the automatic scaling was introduced in #12402. I quote the following text from that ticket: 18 18 > There is already automatic scaling in the z-direction to avoid the tall thin box that appears in the current version on the cell server (and SMC), but that can easily be overridden. 19 19 … … 24 24 }}} 25 25 26 I suggest to remove these 2 lines from the file, 27 ~~or at the least, document it so the user can expect this behavior.~~ 26 This ticket overwrites this behavior and introduces a new threejs-specific plot option. 27 The new option is called `auto_scaling` (default: [False, False, False]) which is a list 28 or a tuple of three booleans; set to `True` to automatically scale down the corresponding 29 direction if it is too large.