Skip to content

Commit c4231f9

Browse files
committed
New version 0.1.808 fixes setup.py
1 parent 0fe20dc commit c4231f9

7 files changed

+21
-19
lines changed

autoviz/AutoViz_Holo.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1112,8 +1112,8 @@ def draw_heatmap_hv(dft, conti, chart_format, datevars=[], dep=None,
11121112
if timeseries_flag:
11131113
dft_target = dft[[dep]+conti].diff()
11141114
else:
1115-
dft_target = dft[:]
1116-
dft_target[dep] = dft[dep].values
1115+
dft_target = dft[conti]
1116+
dft_target[dep] = dft[dep].values
11171117
corre = dft_target.corr()
11181118
if timeseries_flag:
11191119
heatmap = corre.hvplot.heatmap(height=height_size, width=width_size, colorbar=True,

autoviz/AutoViz_Utils.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -688,8 +688,8 @@ def draw_heatmap(dft, conti, verbose,chart_format,datevars=[], dep=None,
688688
if timeseries_flag:
689689
dft_target = dft[[dep]+conti].diff()
690690
else:
691-
dft_target = dft[:]
692-
dft_target[dep] = dft[dep].values
691+
dft_target = dft[conti]
692+
dft_target[dep] = dft[dep].values
693693
corr = dft_target.corr()
694694
plt.subplot(rows, cols, plotc)
695695
ax1 = plt.gca()

autoviz/__version__.py

+1-1
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.807"
8+
__version__ = "0.1.808"
99
__holo_version__ = "0.0.4"
1010
__license__ = "Apache License 2.0"
1111
__copyright__ = "2020-21 Google"

requirements-py310.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
xlrd
22
wordcloud
33
pyamg
4-
pandas
54
nltk
65
emoji
76
textblob
@@ -16,4 +15,5 @@ pandas-dq>=1.29
1615
numpy>=1.25.0
1716
hvplot>=0.9.2
1817
panel>=1.4.0
19-
holoviews~=1.16.0
18+
holoviews>=1.15.3
19+
pandas<2.0

requirements-py311.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
xlrd
22
wordcloud
33
pyamg
4-
pandas
54
nltk
65
emoji
76
textblob
@@ -16,4 +15,5 @@ pandas-dq>=1.29
1615
numpy>=1.25.0
1716
hvplot>=0.9.2
1817
panel>=1.4.0
19-
holoviews~=1.15.3
18+
holoviews>=1.15.3
19+
pandas<2.0

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
xlrd
22
wordcloud
33
pyamg
4-
pandas
54
nltk
65
emoji
76
textblob
@@ -18,3 +17,4 @@ hvplot~=0.7.3
1817
panel~=0.14.4
1918
holoviews~=1.14.9
2019
param==1.13.0
20+
pandas<2.0

setup.py

+11-9
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
"wordcloud",
1313
"emoji",
1414
# Assuming numpy version <1.25.0 is compatible with older Python versions and older HoloViews
15-
"pandas",
1615
"pyamg",
1716
"matplotlib<=3.7.4", # Specify versions compatible with older Python versions
1817
"seaborn>=0.12.2",
@@ -28,41 +27,44 @@
2827
# Define default dependencies (compatible with older Python versions)
2928
install_requires = list_req
3029

31-
if python_version < (3, 10):
30+
if python_version <= (3, 10):
3231
install_requires = list_req + [
3332
"numpy<1.25.0",
3433
"hvplot~=0.7.3", # Older compatible version
35-
"holoviews~=1.14.9", # Older compatible version
34+
"holoviews<=1.14.9", # Older compatible version
3635
"panel~=0.14.4", ## this is an old versjon of panel
3736
"param==1.13.0", ### something broke in panel without this
37+
"pandas<2.0", ## pandas must be below 2.0 version
3838
]
3939

4040
# For Python versions >= 3.10 and < 3.11, update the dependency list
41-
if (3, 10) <= python_version < (3, 11):
41+
if (3, 10) < python_version <= (3, 11):
4242
install_requires = list_req + [
4343
# Keep most dependencies as is, adjust only where necessary
4444
"numpy>=1.25.0", # Update as needed for compatibility with newer HoloViews
4545
# Update other dependencies as needed
4646
"hvplot>=0.9.2", ###newer hvplot
47-
"holoviews>=1.16.0", # Update based on the bug fix relevant to Python 3.10
47+
"holoviews>=1.15.3", # Update based on the bug fix relevant to Python 3.10
4848
# Ensure other dependencies are compatible
49-
"panel>=1.4.0",
49+
"panel>=1.4.0", ## this is a new version of panel
50+
"pandas<2.0", ## pandas must be below 2.0 version
5051
]
5152

5253
# For Python versions >= 3.11, ensure HoloViews is at least 1.15.3 for the bug fix
53-
if python_version >= (3, 11):
54+
if python_version > (3, 11):
5455
install_requires = list_req + [
5556
# Adjust dependencies as needed for Python 3.11
5657
"numpy>=1.25.0", # Update as needed for compatibility with newer HoloViews
5758
"hvplot>=0.9.2", ###newer hvplot
5859
"holoviews>=1.15.3", # Ensure version is >= 1.15.3 for Python 3.11 support
5960
# Update or keep other dependencies as needed
60-
"panel>=1.4.0",
61+
"panel>=1.4.0", ## this is a new version of panel
62+
"pandas<2.0", ## pandas must be below 2.0 version
6163
]
6264

6365
setuptools.setup(
6466
name="autoviz",
65-
version="0.1.807",
67+
version="0.1.808",
6668
author="Ram Seshadri",
6769
description="Automatically Visualize any dataset, any size with a single line of code",
6870
long_description=long_description,

0 commit comments

Comments
 (0)