Chandra X-Ray Observatory (CXC)
Skip to the navigation links
Last modified: 12 March 2013

URL: http://cxc.harvard.edu/chips/bugs/windows.html

Bugs: windows & the display setting


Table of Contents

Caveats

Bugs


Caveats

Turning off redraw may be slow when running remotely

Turning redraw off by calling

set_window(["display", False])

can be a very slow command especially if running remote. It may be faster to start with the window display off, or if grouping commands in atomic units, use undo buffers.


Bugs

When display is turned off, the font display may have rendering problems.
(64-bit Linux)

This is most noticeable on axes tick labels, but can also be seen with other text.

Workaround:

Try changing the window display to True before calling print_window; e.g.

set_window(['display', True])

While inside an undo buffer, block redraw will be turned off.

However, to increase speed the contents of the chips window are not refreshed. So while nothing is drawn to the window, if the window is obscured by another window, the obscured pixels are lost and will not be refreshed if the obscured part is made visible again. That part of the chips window will be black.

Undo-ing a window delete

Calling undo after deleting a window which had its redraw parameter set to False will re-create the window but display all its contents on screen.

Trying to create large windows[New]

Users may experience problems when trying to create large plot windows that exceed the size of the physical display. When the physical height or width is exceeded, chips may reset that value back to the default value which is 360 pixels. The exact limit depends on the display geometry but it is suggested users not try to create windows larger than 2000 x 2000 pixels.

Users can use the "scaleheight" and "scalewidth" parameters to reduce the plot window size. However, they may still experience problems if they try to export the file as full scale resolution if the export size exceeds the display dimensions.


Last modified: 12 March 2013
CXC logo

The Chandra X-Ray Center (CXC) is operated for NASA by the Smithsonian Astrophysical Observatory. 60 Garden Street, Cambridge, MA 02138 USA.   Email: cxcweb@head.cfa.harvard.edu Smithsonian Institution, Copyright © 1998-2012. All rights reserved.