Skip to content

Commit

Permalink
Major update with this new 0.1.803 version
Browse files Browse the repository at this point in the history
  • Loading branch information
AutoViML committed Dec 23, 2023
1 parent 4b7f0ad commit ba75e53
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 6 deletions.
13 changes: 9 additions & 4 deletions autoviz/AutoViz_Holo.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,10 +210,14 @@ def AutoViz_Holo(filename, sep=',', depVar='', dfte=None, header=0, verbose=0,
drawobj3 = draw_distplot_hv(dfin, cats, nums, chart_format, problem_type, dep, classes, mk_dir, verbose)
ls_objects.append(drawobj3)
### kdeplot is the only time you send in ls_objects since it has to be returned with 2 objects ###
drawobj4 = draw_kdeplot_hv(dfin, cats, nums, chart_format, problem_type, dep, ls_objects, mk_dir, verbose)
if not drawobj4:
### if it is not blank, then treat it as ls_objects ###
ls_objects = copy.deepcopy(drawobj4)
try:
drawobj4 = draw_kdeplot_hv(dfin, cats, nums, chart_format, problem_type, dep, ls_objects, mk_dir, verbose)
if not drawobj4:
### if it is not blank, then treat it as ls_objects ###
ls_objects = copy.deepcopy(drawobj4)
except:
### This KDE plot errors a lot due to DynamicMaps of holoviews being buggy, so better to skip it!
print('KDE plot is erroring due to problems with DynamicMaps. Hence it is skipped')
if len(nums) > 0:
drawobj5 = draw_violinplot_hv(dfin, dep, nums, chart_format, problem_type, mk_dir, verbose)
ls_objects.append(drawobj5)
Expand Down Expand Up @@ -316,6 +320,7 @@ def draw_kdeplot_hv(dfin, cats, nums, chart_format, problem_type, dep, ls_object
plot_name = 'kde_plots'
width_size = 600
height_size = 400

########################################################################################
def return_dynamic_objects(dfout, dep, title='Distribution of Target variable'):
width_size = 600
Expand Down
2 changes: 1 addition & 1 deletion autoviz/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
__author__ = "Ram Seshadri"
__description__ = "Automatically Visualize any data set any size with a Single Line of Code"
__url__ = "https://github.com/AutoViML/AutoViz.git"
__version__ = "0.1.802"
__version__ = "0.1.803"
__holo_version__ = "0.0.4"
__license__ = "Apache License 2.0"
__copyright__ = "2020-21 Google"
4 changes: 4 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ matplotlib<=3.7.4
seaborn>=0.12.2
scikit-learn
statsmodels
holoviews~=1.14.9
bokeh~=2.4.2
hvplot~=0.7.3
panel>=0.12.6
xgboost>=0.82,<1.7
fsspec>=0.8.3
typing-extensions>=4.1.1
Expand Down
6 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="autoviz",
version="0.1.802",
version="0.1.803",
author="Ram Seshadri",
# author_email="author@example.com",
description="Automatically Visualize any dataset, any size with a single line of code",
Expand All @@ -27,6 +27,10 @@
"statsmodels",
"nltk",
"textblob",
"holoviews~=1.14.9",
"bokeh~=2.4.2",
"hvplot~=0.7.3",
"panel>=0.12.6",
"xgboost>=0.82,<1.7",
"fsspec>=0.8.3",
"typing-extensions>=4.1.1",
Expand Down

0 comments on commit ba75e53

Please sign in to comment.