Project

General

Profile

Revision 833:354ddca04053

ID354ddca04053
Parent 832:569bb279e3e1
Child 834:d989df597b80

Added by Maarten Sneep about 2 years ago

reduce the number of columns in the legend of the histogram plot

View differences:

src/pycama/cama_plot_time.py
184 184
            plt.ylabel("Number of retrievals per day")
185 185
        else:
186 186
            plt.ylabel("{0} [{1}]".format(", ".join(ylabel), ", ".join(list(yunits))))
187
        plt.legend(loc='best', ncol=4, fontsize='x-small', frameon=False)
187
        plt.legend(loc='best', ncol=2, fontsize='xx-small', frameon=False)
188 188
        ax = fig.gca()
189 189
        date_format = mdates.DateFormatter('%Y-%m-%d')
190 190
        date_loc = mdates.AutoDateLocator(minticks=6, maxticks=14, interval_multiples=True)

Also available in: Unified diff