Skip to content

Commit ba75e53

Browse files
committed
Major update with this new 0.1.803 version
1 parent 4b7f0ad commit ba75e53

File tree

4 files changed

+19
-6
lines changed

4 files changed

+19
-6
lines changed

autoviz/AutoViz_Holo.py

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -210,10 +210,14 @@ def AutoViz_Holo(filename, sep=',', depVar='', dfte=None, header=0, verbose=0,
210210
drawobj3 = draw_distplot_hv(dfin, cats, nums, chart_format, problem_type, dep, classes, mk_dir, verbose)
211211
ls_objects.append(drawobj3)
212212
### kdeplot is the only time you send in ls_objects since it has to be returned with 2 objects ###
213-
drawobj4 = draw_kdeplot_hv(dfin, cats, nums, chart_format, problem_type, dep, ls_objects, mk_dir, verbose)
214-
if not drawobj4:
215-
### if it is not blank, then treat it as ls_objects ###
216-
ls_objects = copy.deepcopy(drawobj4)
213+
try:
214+
drawobj4 = draw_kdeplot_hv(dfin, cats, nums, chart_format, problem_type, dep, ls_objects, mk_dir, verbose)
215+
if not drawobj4:
216+
### if it is not blank, then treat it as ls_objects ###
217+
ls_objects = copy.deepcopy(drawobj4)
218+
except:
219+
### This KDE plot errors a lot due to DynamicMaps of holoviews being buggy, so better to skip it!
220+
print('KDE plot is erroring due to problems with DynamicMaps. Hence it is skipped')
217221
if len(nums) > 0:
218222
drawobj5 = draw_violinplot_hv(dfin, dep, nums, chart_format, problem_type, mk_dir, verbose)
219223
ls_objects.append(drawobj5)
@@ -316,6 +320,7 @@ def draw_kdeplot_hv(dfin, cats, nums, chart_format, problem_type, dep, ls_object
316320
plot_name = 'kde_plots'
317321
width_size = 600
318322
height_size = 400
323+
319324
########################################################################################
320325
def return_dynamic_objects(dfout, dep, title='Distribution of Target variable'):
321326
width_size = 600

autoviz/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
__author__ = "Ram Seshadri"
66
__description__ = "Automatically Visualize any data set any size with a Single Line of Code"
77
__url__ = "https://github.com/AutoViML/AutoViz.git"
8-
__version__ = "0.1.802"
8+
__version__ = "0.1.803"
99
__holo_version__ = "0.0.4"
1010
__license__ = "Apache License 2.0"
1111
__copyright__ = "2020-21 Google"

requirements.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ matplotlib<=3.7.4
1010
seaborn>=0.12.2
1111
scikit-learn
1212
statsmodels
13+
holoviews~=1.14.9
14+
bokeh~=2.4.2
15+
hvplot~=0.7.3
16+
panel>=0.12.6
1317
xgboost>=0.82,<1.7
1418
fsspec>=0.8.3
1519
typing-extensions>=4.1.1

setup.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setuptools.setup(
77
name="autoviz",
8-
version="0.1.802",
8+
version="0.1.803",
99
author="Ram Seshadri",
1010
# author_email="[email protected]",
1111
description="Automatically Visualize any dataset, any size with a single line of code",
@@ -27,6 +27,10 @@
2727
"statsmodels",
2828
"nltk",
2929
"textblob",
30+
"holoviews~=1.14.9",
31+
"bokeh~=2.4.2",
32+
"hvplot~=0.7.3",
33+
"panel>=0.12.6",
3034
"xgboost>=0.82,<1.7",
3135
"fsspec>=0.8.3",
3236
"typing-extensions>=4.1.1",

0 commit comments

Comments
 (0)