def plottingSettings(trackPlots, photPlots, statusBar=True):

    if trackPlots or photPlots:
        plt.ion()
        statusBarFig = 0
        statusBarAx = 0
    if trackPlots and photPlots:
        fig = plt.figure(num=None, figsize=(18, 3), facecolor='w', edgecolor='k')
        fig.subplots_adjust(wspace=0.5)
        subplotsDimensions = 140
        photSubplotsOffset = 3
        statusSubplotOffset = 6
        statusBarAx = None
        fig.canvas.set_window_title('oscaar2.0')
    elif photPlots and not trackPlots:
        fig = plt.figure(num=None, figsize=(5, 5), facecolor='w', edgecolor='k')
        fig.subplots_adjust(wspace=0.5)
        subplotsDimensions = 110
        photSubplotsOffset = 0
        statusSubplotOffset = 2
        statusBarAx = None
        fig.canvas.set_window_title('oscaar2.0')
    elif trackPlots and not photPlots:
        fig = plt.figure(num=None, figsize=(13.5, 4), facecolor='w', edgecolor='k')
        fig.subplots_adjust(wspace=0.5)
        subplotsDimensions = 130
        photSubplotsOffset = 0
        statusSubplotOffset = 5
        statusBarAx = None
        fig.canvas.set_window_title('oscaar2.0')
    elif not trackPlots and not photPlots:
        statusBarFig = plt.figure(num=None, figsize=(5, 2), facecolor='w', edgecolor='k')
        statusBarFig.canvas.set_window_title('oscaar2.0')
        statusBarAx = statusBarFig.add_subplot(111, aspect=10)
        statusBarAx.set_title('oscaar2.0 is running...')
        statusBarAx.set_xlim([0, 100])
        statusBarAx.set_xlabel('Percent Complete (%)')
        statusBarAx.get_yaxis().set_ticks([])
        subplotsDimensions = 111
        photSubplotsOffset = 0
        fig = 0
        subplotsDimensions = 0
        photSubplotsOffset = 0
    return [fig, subplotsDimensions, photSubplotsOffset], statusBarFig, statusBarAx
Determine whether or not this user is the last admin account.
dataset/ETHPy150Open OSCAAR/OSCAAR/oscaar/IO.py/plottingSettings--crossover with--dataset/ETHPy150Open nickjj/build-a-saas-app-with-flask/catwatch/blueprints/user/models.py/User.is_last_admin