enthought / enthought/mayavi

Scaling transformation does not work

Open
#961 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.4k
Forks
316
Avg merge
7h 44m
Merged PRs (30d)
5

Description

I have Mayavi 4.7.2 with VTK 8.2.1 running on macOS 10.15.6. There seems to be something wrong with the `scale` attribute of `tvtk.Transform`:
```python
t = tvtk.Transform(scale=(1, 1, 0)) # TraitError: Cannot set the undefined 'scale' attribute of a 'Transform' object.
t = tvtk.Transform()
t.scale = (1, 1, 0) # TraitError: Cannot set the undefined 'scale' attribute of a 'Transform' object.
t.scale # AttributeError: 'Transform' object has no attribute 'scale'
```
However, `dir(t)` shows `scale` as it should. Any ideas on what could be wrong here?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.