Update scene.py for display_type "none" bug#6
Conversation
|
I think this is not perfect yet, as the fix only allows for the exporting if the display_type is 'none'. However, otherwise the finalize_plot functionality needs to be reworked as the screenshot can not be taken before either a .show or a .render command is called, but the show opens the window, and the render requires the background flag to be set to true. |
|
I couldn't reproduce the error. It seems to be working for me currently too even though the changes you made make sense I think. Are you with the latest version bc I made some changes in there I think with the latest release |
using display_type='none' would not render because the offscreen renderer flag would not be set.
code to reproduce error:
results in
I think it was just missing the off_screen flag if 'none' was specified in the plotter call, at least that seemed to fix it for me.