File tree Expand file tree Collapse file tree 1 file changed +8
-11
lines changed Expand file tree Collapse file tree 1 file changed +8
-11
lines changed Original file line number Diff line number Diff line change @@ -2431,21 +2431,18 @@ def plot_process_footer():
24312431 # This is certain
24322432 is_multiplot = self .processOptions .get ('multiplot' )
24332433
2434- # Some noninteractive terminals need to be told we're done
2435- # plotting (unset multiplot, set output) to actually write the
2436- # data to disk in full. svg needs this to write out some closing
2437- # stanza, and png needs this to write anything, if we're
2438- # multiplotting.
2439-
2440- # If we're using an unknown interactive terminal, this will
2441- # 'unset multiplot', and make multiplots break. Unknown
2442- # interactive terminals aren't likely to happen
2443- if is_multiplot and not is_interactive :
2434+ if is_multiplot :
24442435 self ._safelyWriteToPipe ('unset multiplot' )
2436+
2437+ # Some noninteractive terminals need to be told we're done
2438+ # plotting (set output) to actually write the data to disk in
2439+ # full. For instance "svg" needs this to write out some closing
2440+ # stanza
2441+
24452442 # If we're using an unknown interactive terminal, this will 'set
24462443 # output', and make multiplots break. Unknown interactive
24472444 # terminals aren't likely to happen
2448- if not ( is_multiplot and is_interactive ) :
2445+ if not is_interactive :
24492446 self ._safelyWriteToPipe ('set output' , 'output' )
24502447
24512448 # If I KNOW that I'm using a non-interactive terminal, I don't
You can’t perform that action at this time.
0 commit comments