diff --git a/docs/conf.py b/docs/conf.py index 05394fd..73e6c47 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -65,9 +65,9 @@ # built documents. # # The short X.Y version. -version = "1.1.3" +version = "1.1.4" # The full version, including alpha/beta/rc tags. -release = "1.1.3" +release = "1.1.4" # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/gseapy/__main__.py b/gseapy/__main__.py index 3def5ca..3e2aac3 100644 --- a/gseapy/__main__.py +++ b/gseapy/__main__.py @@ -11,7 +11,7 @@ # or args = argparser.parse_args() will throw bugs!!! -__version__ = "1.1.3" +__version__ = "1.1.4" def main(): diff --git a/gseapy/base.py b/gseapy/base.py index 158dd33..43232f9 100644 --- a/gseapy/base.py +++ b/gseapy/base.py @@ -204,7 +204,7 @@ def _load_data(self, exprs: Union[str, pd.Series, pd.DataFrame]) -> pd.DataFrame def _check_data(self, exprs: pd.DataFrame) -> pd.DataFrame: """ - check NAs, duplicates. + check NAs, duplicates, and select number columns exprs: dataframe, the frist column must be gene identifiers return: dataframe, index is gene ids diff --git a/gseapy/plot.py b/gseapy/plot.py index 1defe89..998f09b 100644 --- a/gseapy/plot.py +++ b/gseapy/plot.py @@ -911,9 +911,12 @@ def scatter( handles, labels = sc.legend_elements( prop="sizes", num=3, # - fmt="{x:.2f}", + # fmt="{x:.2f}", color="gray", - func=lambda s: np.sqrt(s) / plt.rcParams["lines.markersize"] / self.scale, + func=lambda s: 100 + * np.sqrt(s) + / plt.rcParams["lines.markersize"] + / self.scale, ) ax.legend( handles,