diff options
author | Agustin Zubiaga <aguz@sugarlabs.org> | 2012-07-02 00:58:36 (GMT) |
---|---|---|
committer | Agustin Zubiaga <aguz@sugarlabs.org> | 2012-07-02 00:58:36 (GMT) |
commit | 26f4e41a892fb9c2936d4f63f733b9f09e4ce78f (patch) | |
tree | 04710d1ea9b25f995cca1700e641818bc20ddd17 | |
parent | d73dacf611f0b8e8adee0cebefcfc69a8e29854f (diff) |
Changing imports (pycha -> sugarpycha)
-rw-r--r-- | bar.py | 6 | ||||
-rw-r--r-- | chart.py | 4 | ||||
-rw-r--r-- | color.py | 2 | ||||
-rw-r--r-- | line.py | 4 | ||||
-rw-r--r-- | pie.py | 4 | ||||
-rw-r--r-- | polygonal.py | 8 | ||||
-rw-r--r-- | radial.py | 8 | ||||
-rw-r--r-- | scatter.py | 2 | ||||
-rw-r--r-- | stackedbar.py | 4 |
9 files changed, 21 insertions, 21 deletions
@@ -15,9 +15,9 @@ # You should have received a copy of the GNU Lesser General Public License # along with PyCha. If not, see <http://www.gnu.org/licenses/>. -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): @@ -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): @@ -18,7 +18,7 @@ import math -from pycha.utils import clamp +from sugarpycha.utils import clamp DEFAULT_COLOR = '#3c581a' @@ -15,8 +15,8 @@ # You should have received a copy of the GNU Lesser General Public License # along with PyCha. If not, see <http://www.gnu.org/licenses/>. -from pycha.chart import Chart -from pycha.color import hex2rgb +from sugarpycha.chart import Chart +from sugarpycha.color import hex2rgb class LineChart(Chart): @@ -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/polygonal.py b/polygonal.py index b470c87..bb5ced6 100644 --- a/polygonal.py +++ b/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): @@ -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): @@ -17,7 +17,7 @@ import math -from pycha.line import LineChart +from sugarpycha.line import LineChart class ScatterplotChart(LineChart): diff --git a/stackedbar.py b/stackedbar.py index a728e50..3daf6e3 100644 --- a/stackedbar.py +++ b/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 <http://www.gnu.org/licenses/>. -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): |