Closed larsoner closed 6 years ago
Merging #245 into master will increase coverage by
0.03%
. The diff coverage is100%
.
@@ Coverage Diff @@
## master #245 +/- ##
==========================================
+ Coverage 74.93% 74.96% +0.03%
==========================================
Files 7 7
Lines 2474 2477 +3
Branches 493 494 +1
==========================================
+ Hits 1854 1857 +3
Misses 447 447
Partials 173 173
what is it useful for?
For creating screenshots it's safer (sometimes on Linux you get junk images/screenshots in Mayavi with actual windows). With this I can do mlab.options.offscreen = True
then stc.plot(...)
without needing to add the explicit offscreen
option to stc.plot
.
(Arguably also we should have always respected the mlab.options
value rather than defaulting to offscreen=False
)
ok no objection to merge on my end
Adds
offscreen='auto'
as the default, which will use themlab.options.offscreen
value.