Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
aeiwz committed Mar 21, 2024
1 parent 1f114e6 commit a26cebe
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions lingress/lingress.py
Original file line number Diff line number Diff line change
Expand Up @@ -926,7 +926,7 @@ def __init__(self, dataset, label):



def box_plot(self, dataset, label, color_dict=None,
def box_plot(self, color_dict=None,
show_value = True, font_size=24,
title_font_size=24, fig_height= 800,
fig_width=500, y_label='Absolute concentration (mM)',
Expand Down Expand Up @@ -1000,11 +1000,15 @@ def box_plot(self, dataset, label, color_dict=None,



def violin_plot(dataset, label, color_dict=None, show_value = True, show_box=True, font_size=24,
def violin_plot(self, color_dict=None, show_value = True, show_box=True, font_size=24,
title_font_size=24, fig_height= 800, fig_width=500, y_label='Absolute concentration (mM)',
legend_name='Class', legend_font_size=18, legend_orientation='h', legend_x=0.5, legend_y=-0.08,
yanchor = 'top', xanchor = 'center'):


dataset = self.dataset
label = self.label

import plotly.express as px
import pandas as pd

Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
setup(
name = 'lingress',
packages = ['lingress'],
version = '2.0.1',
version = '2.0.2',
license='MIT',
description = 'Metabolomics data analysis with univariate (linear regression) and visualization tools.',
long_description=DESCRIPTION,
author = 'aeiwz',
author_email = '[email protected]',
url = 'https://github.com/aeiwz/lingress.git',
download_url = 'https://github.com/aeiwz/lingress/archive/refs/tags/v2.0.1.tar.gz',
download_url = 'https://github.com/aeiwz/lingress/archive/refs/tags/v2.0.2.tar.gz',
keywords = ['Omics', 'Chemometrics', 'Visualization', 'Data Analysis', 'Univariate', 'Linear Regression'],
install_requires=[
'scikit-learn',
Expand Down

0 comments on commit a26cebe

Please sign in to comment.