enthought / enthought/mayavi

CustomGridPlane issue

Open
#1,218 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

Running the following example, with the file heart.vti in data,

mayavi -d heart.vti -m CustomGridPlane

raises the error that ImageData has no attribute 'whole_extent'.

In fact, ImageData has 'extent' attribute.

Replacing, line 213 in components/custom_grid_plane.py

extents = self.plane.input.whole_extent

by

extents = self.plane.input.extent

fixes the issue.

Debian x86_64, VTK 9.1, Python 3.9.2, ETS from source

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.