If this axis needs to be compressed (either due to its own `scaleanchor` and `scaleratio` or those of the other axis), determines how that happens: by increasing the "range", or by decreasing the "domain". Default is "domain" for axes containing image traces,
(self)
| 400 | |
| 401 | @property |
| 402 | def constrain(self): |
| 403 | """ |
| 404 | If this axis needs to be compressed (either due to its own |
| 405 | `scaleanchor` and `scaleratio` or those of the other axis), |
| 406 | determines how that happens: by increasing the "range", or by |
| 407 | decreasing the "domain". Default is "domain" for axes |
| 408 | containing image traces, "range" otherwise. |
| 409 | |
| 410 | The 'constrain' property is an enumeration that may be specified as: |
| 411 | - One of the following enumeration values: |
| 412 | ['range', 'domain'] |
| 413 | |
| 414 | Returns |
| 415 | ------- |
| 416 | Any |
| 417 | """ |
| 418 | return self["constrain"] |
| 419 | |
| 420 | @constrain.setter |
| 421 | def constrain(self, val): |
no outgoing calls
no test coverage detected