From c6596d374f2cf2b5177b1f1300689a2e457578e8 Mon Sep 17 00:00:00 2001 From: Agustin Zubiaga Date: Mon, 02 Jul 2012 01:01:00 +0000 Subject: [sugar-pycha] update --- (limited to 'sugarpycha') diff --git a/sugarpycha/bar.py b/sugarpycha/bar.py index ab0eeec..fa3698d 100644 --- a/sugarpycha/bar.py +++ b/sugarpycha/bar.py @@ -15,9 +15,9 @@ # You should have received a copy of the GNU Lesser General Public License # along with PyCha. If not, see . -from pycha.chart import Chart, uniqueIndices -from pycha.color import hex2rgb -from pycha.utils import safe_unicode +from sugarpycha.chart import Chart, uniqueIndices +from sugarpycha.color import hex2rgb +from sugarpycha.utils import safe_unicode class BarChart(Chart): diff --git a/sugarpycha/chart.py b/sugarpycha/chart.py index c6a1c34..16f2e09 100644 --- a/sugarpycha/chart.py +++ b/sugarpycha/chart.py @@ -21,8 +21,8 @@ import math import cairo -from pycha.color import ColorScheme, hex2rgb, DEFAULT_COLOR -from pycha.utils import safe_unicode +from sugarpycha.color import ColorScheme, hex2rgb, DEFAULT_COLOR +from sugarpycha.utils import safe_unicode class Chart(object): diff --git a/sugarpycha/color.py b/sugarpycha/color.py index 82b436f..fcf0784 100644 --- a/sugarpycha/color.py +++ b/sugarpycha/color.py @@ -18,7 +18,7 @@ import math -from pycha.utils import clamp +from sugarpycha.utils import clamp DEFAULT_COLOR = '#3c581a' diff --git a/sugarpycha/line.py b/sugarpycha/line.py index 9b12152..07be5e6 100644 --- a/sugarpycha/line.py +++ b/sugarpycha/line.py @@ -15,8 +15,8 @@ # You should have received a copy of the GNU Lesser General Public License # along with PyCha. If not, see . -from pycha.chart import Chart -from pycha.color import hex2rgb +from sugarpycha.chart import Chart +from sugarpycha.color import hex2rgb class LineChart(Chart): diff --git a/sugarpycha/pie.py b/sugarpycha/pie.py index d7b3df2..12544dc 100644 --- a/sugarpycha/pie.py +++ b/sugarpycha/pie.py @@ -19,8 +19,8 @@ import math import cairo -from pycha.chart import Chart, Option, Layout, Area, get_text_extents -from pycha.color import hex2rgb +from sugarpycha.chart import Chart, Option, Layout, Area, get_text_extents +from sugarpycha.color import hex2rgb class PieChart(Chart): diff --git a/sugarpycha/polygonal.py b/sugarpycha/polygonal.py index b470c87..bb5ced6 100644 --- a/sugarpycha/polygonal.py +++ b/sugarpycha/polygonal.py @@ -19,10 +19,10 @@ import math import cairo -from pycha.chart import Chart -from pycha.line import Point -from pycha.color import hex2rgb -from pycha.utils import safe_unicode +from sugarpycha.chart import Chart +from sugarpycha.line import Point +from sugarpycha.color import hex2rgb +from sugarpycha.utils import safe_unicode class PolygonalChart(Chart): diff --git a/sugarpycha/radial.py b/sugarpycha/radial.py index 9055e26..8bbd1f9 100644 --- a/sugarpycha/radial.py +++ b/sugarpycha/radial.py @@ -19,10 +19,10 @@ import math import cairo -from pycha.chart import Chart -from pycha.line import Point -from pycha.color import hex2rgb -from pycha.utils import safe_unicode +from sugarpycha.chart import Chart +from sugarpycha.line import Point +from sugarpycha.color import hex2rgb +from sugarpycha.utils import safe_unicode class RadialChart(Chart): diff --git a/sugarpycha/scatter.py b/sugarpycha/scatter.py index 27656de..001e786 100644 --- a/sugarpycha/scatter.py +++ b/sugarpycha/scatter.py @@ -17,7 +17,7 @@ import math -from pycha.line import LineChart +from sugarpycha.line import LineChart class ScatterplotChart(LineChart): diff --git a/sugarpycha/stackedbar.py b/sugarpycha/stackedbar.py index a728e50..3daf6e3 100644 --- a/sugarpycha/stackedbar.py +++ b/sugarpycha/stackedbar.py @@ -15,8 +15,8 @@ # You should have received a copy of the GNU Lesser General Public License # along with PyCha. If not, see . -from pycha.bar import BarChart, VerticalBarChart, HorizontalBarChart, Rect -from pycha.chart import uniqueIndices +from sugarpycha.bar import BarChart, VerticalBarChart, HorizontalBarChart, Rect +from sugarpycha.chart import uniqueIndices class StackedBarChart(BarChart): -- cgit v0.9.1