# from __future__ import division, absolute_import
#
# import numpy as np
# # from limix_plot import cycler_ as cycler
# from collections import OrderedDict
#
# def _expected(n):
#     lnpv = np.linspace(1/(n+1), n/(n+1), n, endpoint=True)
#     return np.flipud(-np.log10(lnpv))
#
# def _xy(self, label):
#     lpv = -np.log10(self._pv[label])
#     lpv.sort()
#
#     return (_expected(len(lpv)), lpv)
