def __get_shape_artists(data, horiz):
    if horiz:
        return data.shape[1], plt.xticks, plt.xlabel
    else:
        return data.shape[0], plt.yticks, plt.ylabel
Test error conditions.
dataset/ETHPy150Open bmcfee/librosa/librosa/display.py/__get_shape_artists--crossover with--dataset/ETHPy150Open nasa/mplStyle/mplStyle/types/test/test_StyleManager.py/TestStyleManager.testErrors