ó
mÜJ]c           @` sÙ   d  Z  d d l m Z m Z m Z m Z d d l Z e j e ƒ Z	 d d l
 m Z m Z m Z d Z d d l m Z d Z d Z d Z e d i  ƒ Z i e d e j ƒ e 6e d e j ƒ e 6e d e j ƒ e 6Z d S(   u"   Provide access to built-in themes:

CALIBER
~~~~~~~

.. bokeh-plot::

    from bokeh.plotting import figure, output_file, show
    from bokeh.themes import built_in_themes
    from bokeh.io import curdoc

    x = [1, 2, 3, 4, 5]
    y = [6, 7, 6, 4, 5]

    output_file("caliber.html")
    curdoc().theme = 'caliber'
    p = figure(title='caliber', plot_width=300, plot_height=300)
    p.line(x, y)
    show(p)

DARK_MINIMAL
~~~~~~~~~~~~

.. bokeh-plot::

    from bokeh.plotting import figure, output_file, show
    from bokeh.themes import built_in_themes
    from bokeh.io import curdoc

    x = [1, 2, 3, 4, 5]
    y = [6, 7, 6, 4, 5]

    output_file("dark_minimal.html")
    curdoc().theme = 'dark_minimal'
    p = figure(title='dark_minimal', plot_width=300, plot_height=300)
    p.line(x, y)
    show(p)


LIGHT_MINIMAL
~~~~~~~~~~~~~

.. bokeh-plot::

    from bokeh.plotting import figure, output_file, show
    from bokeh.themes import built_in_themes
    from bokeh.io import curdoc

    x = [1, 2, 3, 4, 5]
    y = [6, 7, 6, 4, 5]

    output_file("light_minimal.html")
    curdoc().theme = 'light_minimal'
    p = figure(title='light_minimal', plot_width=300, plot_height=300)
    p.line(x, y)
    show(p)

as well as the ``Theme`` class that can be used to create new Themes.

.. autoclass:: Theme

i    (   t   absolute_importt   divisiont   print_functiont   unicode_literalsNi   (   t   _calibert   _dark_minimalt   _light_minimalu   CALIBERu   DARK_MINIMALu   LIGHT_MINIMALu   Themeu   built_in_themesu   default(   t   Themeu   caliberu   light_minimalu   dark_minimalt   json(   u   CALIBERu   DARK_MINIMALu   LIGHT_MINIMALu   Themeu   built_in_themesu   default(   t   __doc__t
   __future__R    R   R   R   t   loggingt	   getLoggert   __name__t   logt    R   R   R   t   __all__t   themeR   t   CALIBERt   LIGHT_MINIMALt   DARK_MINIMALt   defaultR   t   built_in_themes(    (    (    s4   lib/python2.7/site-packages/bokeh/themes/__init__.pyt   <module>D   s&   "     