Esempio n. 1
0
 def defaultSettings():
     settings = command.CommandComponent.defaultSettings()
     settings['latex_src'] = (None, "Image to utilize when rendering with LaTeX")
     settings['controls'] = (True, "Display the video player controls.")
     settings['loop'] = (False, "Automatically loop the video.")
     settings['autoplay'] = (False, "Automatically start playing the video.")
     settings.update(floats.caption_settings())
     return settings
Esempio n. 2
0
 def defaultSettings():
     settings = command.CommandComponent.defaultSettings()
     settings.update(floats.caption_settings())
     settings.update(common.extractContentSettings())
     settings['max-height'] = (u'350px', "The default height for listing content.")
     settings['language'] = (None, "The language to use for highlighting, if not supplied it " \
                                   "will be inferred from the extension (if possible).")
     return settings
Esempio n. 3
0
    def defaultSettings():
        settings = command.CommandComponent.defaultSettings()
        settings['module'] = (None, "The name of the module containing the object.")
        settings['object'] = (None, "The name of the object to import from the 'module'.")
        settings.update(floats.caption_settings())
        settings['prefix'] = (u'Table', settings['prefix'][1])

        return settings
Esempio n. 4
0
 def defaultSettings():
     settings = command.CommandComponent.defaultSettings()
     settings.update(floats.caption_settings())
     settings.update(common.extractContentSettings())
     settings['max-height'] = ('350px',
                               "The default height for listing content.")
     settings['language'] = (None, "The language to use for highlighting, if not supplied it " \
                                   "will be inferred from the extension (if possible).")
     return settings
Esempio n. 5
0
 def defaultSettings():
     settings = command.CommandComponent.defaultSettings()
     settings['latex_src'] = (None, "Image to utilize when rendering with LaTeX")
     settings['controls'] = (True, "Display the video player controls.")
     settings['loop'] = (False, "Automatically loop the video.")
     settings['autoplay'] = (False, "Automatically start playing the video.")
     settings['tstart'] = (None, "Time (sec) to start video.")
     settings['tstop'] = (None, "Time (sec) to stop video.")
     settings.update(floats.caption_settings())
     return settings
Esempio n. 6
0
    def defaultSettings():
        settings = command.CommandComponent.defaultSettings()
        settings['module'] = (None,
                              "The name of the module containing the object.")
        settings['object'] = (
            None, "The name of the object to import from the 'module'.")
        settings.update(floats.caption_settings())
        settings['prefix'] = ('Table', settings['prefix'][1])

        return settings
Esempio n. 7
0
 def defaultSettings():
     settings = command.CommandComponent.defaultSettings()
     settings['data'] = (None, "Directly supply a list of dict items (i.e., JSON data) to the "
                               "plotly plot command, see "
                               "https://plot.ly/javascript/line-and-scatter"
                               "for additional details.")
     settings['layout'] = ('dict()', "Plotly layout settings for the chart, refer to "
                                     "https://plot.ly/javascript/reference/#layout "
                                     "for available options.")
     settings['filename'] = (None, "The name of a CSV file for extracting data, when used the "
                             "'x' and 'y' fields of the 'data' setting should be replaced by "
                             "column names or numbers.")
     settings.update(floats.caption_settings())
     settings['prefix'] = ('Figure', settings['prefix'][1])
     return settings
Esempio n. 8
0
 def defaultSettings():
     settings = command.CommandComponent.defaultSettings()
     settings['data'] = (None, "Directly supply a list of dict items (i.e., JSON data) to the "
                               "plotly plot command, see "
                               "https://plot.ly/javascript/line-and-scatter"
                               "for additional details.")
     settings['layout'] = ('dict()', "Plotly layout settings for the chart, refer to "
                                     "https://plot.ly/javascript/reference/#layout "
                                     "for available options.")
     settings['filename'] = (None, "The name of a CSV file for extracting data, when used the "
                             "'x' and 'y' fields of the 'data' setting should be replaced by "
                             "column names or numbers.")
     settings.update(floats.caption_settings())
     settings['prefix'] = ('Figure', settings['prefix'][1])
     return settings
Esempio n. 9
0
 def defaultSettings():
     settings = command.CommandComponent.defaultSettings()
     settings.update(floats.caption_settings())
     return settings
Esempio n. 10
0
 def defaultSettings():
     settings = command.CommandComponent.defaultSettings()
     settings.update(floats.caption_settings())
     return settings
Esempio n. 11
0
 def defaultSettings():
     settings = command.CommandComponent.defaultSettings()
     settings['latex_src'] = (None, "Image to utilize when rendering with LaTeX")
     settings.update(floats.caption_settings())
     return settings
Esempio n. 12
0
 def defaultSettings():
     settings = command.CommandComponent.defaultSettings()
     settings.update(floats.caption_settings())
     settings['prefix'] = ('Example', settings['prefix'][1])
     return settings
Esempio n. 13
0
 def defaultSettings():
     settings = command.CommandComponent.defaultSettings()
     settings.update(floats.caption_settings())
     settings['prefix'] = (u'Example', settings['prefix'][1])
     return settings