ctaplot/gammaboard/gammaboard.py
def open_dashboard(name='dashboard.ipynb'):
    """
    Open a temporary copy of the dashboard.
    All changes made in the dashboard by the user will be discarded when closed.

    Returns
    -------

    """
    original_dashboard_path = get(name)
    with tempfile.TemporaryDirectory() as tmpdir:
        tmp_dashboard = os.path.join(tmpdir, name)
        copyfile(original_dashboard_path, tmp_dashboard)
        command = 'jupyter notebook {}'.format(tmp_dashboard)
        os.system(command)

    Open a temporary copy of the dashboard.
    All changes made in the dashboard by the user will be discarded when closed.

    Returns
    -------

    
Open a temporary copy of the dashboard.
All changes made in the dashboard by the user will be discarded when closed.

Returns
Open a temporary copy of the dashboard . All changes made in the dashboard by the user will be discarded when closed . Returns
def open_dashboard(name='dashboard.ipynb'):
    original_dashboard_path = get(name)
    with tempfile.TemporaryDirectory() as tmpdir:
        tmp_dashboard = os.path.join(tmpdir, name)
        copyfile(original_dashboard_path, tmp_dashboard)
        command = 'jupyter notebook {}'.format(tmp_dashboard)
        os.system(command)
def open_dashboard ( name = 'dashboard.ipynb' ) : original_dashboard_path = get ( name ) with tempfile . TemporaryDirectory ( ) as tmpdir : tmp_dashboard = os . path . join ( tmpdir , name ) copyfile ( original_dashboard_path , tmp_dashboard ) command = 'jupyter notebook {}' . format ( tmp_dashboard ) os . system ( command )
Open a temporary copy of the dashboard.
Open a temporary copy of the dashboard .
"""
    Open a temporary copy of the dashboard.
    All changes made in the dashboard by the user will be discarded when closed.

    Returns
    -------

    """
name