File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -257,11 +257,11 @@ def make_prediction_plots(
257257
258258 # Now write all the plots after possible
259259 # customizations have been made
260- for key in plots :
260+ for key , plot in plots . items () :
261261 if key != self .msid :
262- outfile = outdir / plots [ key ] .filename
262+ outfile = outdir / plot .filename
263263 mylog .info ("Writing plot file %s" , outfile )
264- plots [ key ] .fig .savefig (outfile )
264+ plot .fig .savefig (outfile )
265265
266266 return plots
267267
Original file line number Diff line number Diff line change @@ -774,11 +774,11 @@ def make_prediction_plots(
774774
775775 # Now write all of the plots after possible
776776 # customizations have been made
777- for key in plots :
777+ for key , plot in plots . items () :
778778 if key != self .msid :
779- outfile = outdir / plots [ key ] .filename
779+ outfile = outdir / plot .filename
780780 mylog .debug ("Writing plot file %s" % outfile )
781- plots [ key ] .fig .savefig (outfile )
781+ plot .fig .savefig (outfile )
782782
783783 return plots
784784
You can’t perform that action at this time.
0 commit comments