From 18112153cf76ba1e9750145c486db1947fa8c325 Mon Sep 17 00:00:00 2001 From: areski Date: Wed, 9 Dec 2015 18:55:21 +0100 Subject: [PATCH 1/5] Update to version v0.14.0 --- nvd3/__init__.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nvd3/__init__.py b/nvd3/__init__.py index cf6bdb84..2be4342d 100755 --- a/nvd3/__init__.py +++ b/nvd3/__init__.py @@ -9,7 +9,7 @@ Project location : https://github.com/areski/python-nvd3 """ -__version__ = '0.13.10' +__version__ = '0.14.0' __all__ = ['lineChart', 'pieChart', 'lineWithFocusChart', 'stackedAreaChart', 'multiBarHorizontalChart', 'linePlusBarChart', 'cumulativeLineChart', diff --git a/setup.py b/setup.py index 86299d0b..dcac77e1 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ setup( name='python-nvd3', - version='0.13.10', + version='0.14.0', description="Python NVD3 - Chart Library for d3.js", long_description=readme + '\n\n' + history, keywords='plot, graph, nvd3, d3', From 24741ae00f1e002333891e8ea4840e386054a530 Mon Sep 17 00:00:00 2001 From: areski Date: Wed, 9 Dec 2015 18:58:45 +0100 Subject: [PATCH 2/5] fix changelog --- CHANGELOG.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 8cfba303..89477a5e 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -50,7 +50,7 @@ History ------------------- * allow chart_attr to be set as follow 'xAxis': '.rotateLabels(-25)' - This will turn into calling chart.xAxis.rotateLabels(-25) + this will turn into calling chart.xAxis.rotateLabels(-25) 0.11.0 (2013-10-09) @@ -61,13 +61,13 @@ History 0.10.2 (2013-10-04) ------------------- +------------------- * discreteBarChart support date on xAxis 0.10.1 (2013-10-03) ------------------- +------------------- * Remove $ sign in linePlusBarWithFocusChart From 58a5fba7abb59f9350e357e8d302a3b2843f7ad6 Mon Sep 17 00:00:00 2001 From: Bolke de Bruin Date: Sun, 25 Mar 2018 19:18:26 +0200 Subject: [PATCH 3/5] [fix] Update python-slugify to at least 1.2.5 - thanks @bolkedebruin --- requirements.txt | 4 ++-- setup.py | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/requirements.txt b/requirements.txt index e07bc7c8..7567c48f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ -python-slugify==0.0.9 -Jinja2>=2.7.2 +python-slugify>=1.2.5 +Jinja2>=2.8 diff --git a/setup.py b/setup.py index 4987e603..d1669864 100644 --- a/setup.py +++ b/setup.py @@ -111,9 +111,8 @@ def find_package_data(where='.', package='', package_data=find_package_data(), zip_safe=False, install_requires=[ - 'setuptools', - 'python-slugify==0.1.0', - 'Jinja2>=2.7.2' + 'python-slugify>=1.2.5', + 'Jinja2>=2.8' # -*- Extra requirements: -*- ], entry_points={ From f9f811ebc5abd625d63da79e936d9015497b5f58 Mon Sep 17 00:00:00 2001 From: areski Date: Mon, 26 Mar 2018 15:53:21 +0200 Subject: [PATCH 4/5] Update to version v0.15.0 --- nvd3/__init__.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nvd3/__init__.py b/nvd3/__init__.py index cf6bdb84..5b737b45 100755 --- a/nvd3/__init__.py +++ b/nvd3/__init__.py @@ -9,7 +9,7 @@ Project location : https://github.com/areski/python-nvd3 """ -__version__ = '0.13.10' +__version__ = '0.15.0' __all__ = ['lineChart', 'pieChart', 'lineWithFocusChart', 'stackedAreaChart', 'multiBarHorizontalChart', 'linePlusBarChart', 'cumulativeLineChart', diff --git a/setup.py b/setup.py index d1669864..e495cc82 100644 --- a/setup.py +++ b/setup.py @@ -96,7 +96,7 @@ def find_package_data(where='.', package='', setup( name='python-nvd3', - version='0.13.10', + version='0.15.0', description="Python NVD3 - Chart Library for d3.js", long_description=read('README.rst'), keywords='plot, graph, nvd3, d3', From dc8e772597ed72f413b229856fc9a3318e57fcfc Mon Sep 17 00:00:00 2001 From: areski Date: Thu, 29 Oct 2020 13:23:45 +0100 Subject: [PATCH 5/5] [fix](examples) update for Python3 --- .gitignore | 1 + examples/demo_all.py | 4 ++-- examples/multiBarChart_date.py | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 0568aa2c..7664d829 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ *.py[cod] +env # C extensions *.so diff --git a/examples/demo_all.py b/examples/demo_all.py index c8753584..bf43f7b0 100644 --- a/examples/demo_all.py +++ b/examples/demo_all.py @@ -281,9 +281,9 @@ nb_element = 100 start_time = int(time.mktime(datetime.datetime(2012, 6, 1).timetuple()) * 1000) xdata = range(nb_element) -xdata = map(lambda x: start_time + x * 1000000000, xdata) +xdata = list(map(lambda x: start_time + x * 1000000000, xdata)) ydata = [i + random.randint(1, 10) for i in range(nb_element)] -ydata2 = map(lambda x: x * 2, ydata) +ydata2 = list(map(lambda x: x * 2, ydata)) tooltip_date = "%d %b %Y %H:%M:%S %p" extra_serie = {"tooltip": {"y_start": "There are ", "y_end": " calls"}, diff --git a/examples/multiBarChart_date.py b/examples/multiBarChart_date.py index 21a3da14..39a12cd5 100644 --- a/examples/multiBarChart_date.py +++ b/examples/multiBarChart_date.py @@ -25,9 +25,9 @@ nb_element = 100 start_time = int(time.mktime(datetime.datetime(2013, 6, 1).timetuple()) * 1000) xdata = range(nb_element) -xdata = map(lambda x: start_time + x * 100000000, xdata) +xdata = list(map(lambda x: start_time + x * 100000000, xdata)) ydata = [i + random.randint(1, 10) for i in range(nb_element)] -ydata2 = map(lambda x: x * 2, ydata) +ydata2 = list(map(lambda x: x * 2, ydata)) tooltip_date = "%d %b %Y %H:%M:%S %p" extra_serie = {"tooltip": {"y_start": "There are ", "y_end": " calls"},