Skip to content

can't switch to portrait mode while in background mode #1446

@doutriaux1

Description

@doutriaux1
import numpy
data=numpy.sin(numpy.arange(100))
data=numpy.reshape(data,(10,10))
import vcs
x=vcs.init()
x.plot(data,bg=1)
x.clear()
x.portrait()

leads to:

python: /home/doutriaux1/build/build/VTK/Rendering/OpenGL/vtkOpenGLRenderWindow.cxx:1603: int vtkOpenGLRenderWindow::CreateHardwareOffScreenWindow(int, int): Assertion `"pre: positive_width" && width>0' failed.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions