def _saveToFile( self, style, fname ):
      with open( fname, 'w' ) as fout:
         fout.write( MPLSTYLE_HEADER )
         fout.write( "style = MplStyle( '%s' )\n" % (style.name,) )
         self._writeSubStyle( fout, style, 'style' )

   #-----------------------------------------------------------------------
Return extension of the specified kind with the specified name. Any additional
dataset/ETHPy150Open nasa/mplStyle/mplStyle/MplStyleManager.py/MplStyleManager._saveToFile--crossover with--dataset/ETHPy150Open ARM-software/workload-automation/wlauto/core/extension_loader.py/ExtensionLoader.get_extension