def sample_histograms(fig, input_sample, problem, param_dict):
    num_vars = problem['num_vars']
    names = problem['names']
    
    framing = 101 + (num_vars * 10)
    
    # Find number of levels
    num_levels = len(set(input_sample[:,1])) 
    
    out = []
    
    for variable in range(num_vars):
        ax = fig.add_subplot(framing + variable)
        out.append(ax.hist(input_sample[:, variable], 
                           bins=num_levels, 
                           normed=False, 
                           label=None, 
                           **param_dict))
        
        ax.set_title('%s' % (names[variable]))
        ax.tick_params(axis='x',  # changes apply to the x-axis
                       which='both',  # both major and minor ticks are affected
                       bottom='off',  # ticks along the bottom edge are off
                       top='off',  # ticks along the top edge are off
                       labelbottom='off')  # labels along the bottom edge are off)
        if variable > 0:
            ax.tick_params(axis='y',  # changes apply to the y-axis
                           which='both',  # both major and minor ticks are affected
                           labelleft='off')  # labels along the left edge are off) 
    
    return out
Called when a node deletion request has been received.
dataset/ETHPy150Open SALib/SALib/SALib/plotting/morris.py/sample_histograms--crossover with--dataset/ETHPy150Open ralphm/wokkel/wokkel/iwokkel.py/IPubSubService.delete