Florian Mounier
69991cf3fe
Add simple perf tool
11 years ago
Mounier Florian
4b4fa9d7b3
Merge pull request #59 from signed0/patch-1
...
Use hasattr instead of dir
11 years ago
Nathan Villaescusa
fdb1b18f14
Use hasattr instead of dir
...
`dir()` is insanely slow since it has to create and sort a list each time. Switching to `hasattr` provides a nice 10x speedup.
11 years ago
Mounier Florian
066450b5e6
Merge pull request #58 from signed0/master
...
Prevent automatic x-axis label truncation from being less than 1
11 years ago
Florian Mounier
cc0ab1339a
Fix #49 and add a test for it
11 years ago
Florian Mounier
5f2a78795e
Add histogram chart type. Fixes #48
11 years ago
Nathan Villaescusa
bcd5b56253
Prevent truncation ever being less than 1
...
When there are more x-axis labels than there are pixels of space the division will result in `truncation` being equal to zero. This causes truncation of x-axis labels to be completely bypassed as the `truncate()` function ignores truncations that are equal to 0.
This patch makes 1 the minimum which means that in the worst case all the x-axis labels will be displayed as '...'. I think this is preferable to having the full labels positioned on top of one another.
11 years ago
Christian Ledermann
615c9c3e50
reverse the legend in horizontal bar. Adresses #56
11 years ago
Christian Ledermann
14d9d787bb
add inner_radius for piechart fixes #42 does not work for Multi-series pies
11 years ago
Christian Ledermann
ca4e25908d
add ability to add links to legend
11 years ago
Florian Mounier
643373c8d9
Change uri test to make it work on windows. Fix #47
12 years ago
Florian Mounier
fb1cac78f9
Add show_{x,y}_guides options fixes #29
12 years ago
Florian Mounier
953aa19df8
Fix cabaret and pygal_gen
12 years ago
Florian Mounier
71af33d835
Merge branch 'master' of github.com:Kozea/pygal
12 years ago
Florian Mounier
d2e888598b
Fix Sweden + minor clean in worldmap. Fixes #43
12 years ago
Guillaume Ayoub
54968e20d3
Use sitepackages=True for tox
12 years ago
Guillaume Ayoub
62a2349bc8
Allow only 'quadratic' or 'cubic' as interpolation value
12 years ago
Florian Mounier
1c98074462
Fix in colors
12 years ago
Florian Mounier
31367df69a
Merge branch 'master' of github.com:Kozea/pygal
...
Conflicts:
pygal/style.py
12 years ago
Florian Mounier
4427daf8e4
Prefix svg for multiple raw includes in html. Maybe related to #40
12 years ago
Anaèle Digoin
0d0e55ca34
new set of color
12 years ago
Florian Mounier
a88bbf7366
Fix for python 3 too
12 years ago
Florian Mounier
6003e65ef1
Fix edge cases with datey and secondary axes
12 years ago
Mounier Florian
31860ec15f
Merge pull request #39 from signed0/master
...
Fix bug with None y-values for charts with a secondary y-axis.
12 years ago
Florian Mounier
6da43afacb
Include tests on secondary axis
12 years ago
Nathan Villaescusa
75c83b07f8
Fix bug with None y-values for charts with a secondary y-axis.
...
Otherwise the following exception is thrown:
```
Exception: unsupported operand type(s) for -: 'NoneType' and 'float'
```
12 years ago
Florian Mounier
4ca71006f6
Merge branch 'master' of github.com:Kozea/pygal
12 years ago
Florian Mounier
4fb327e030
Add the ability to inheritate a parametric style from another style
12 years ago
Anaèle Digoin
032cf5206b
Merge branch 'master' of github.com:Kozea/pygal
...
Conflicts:
pygal/style.py
12 years ago
Anaèle Digoin
54c4b88e65
create news theme color -> bluestyle
12 years ago
Florian Mounier
95eef057db
Change default amplitude of variation for parametric style depending on operation
12 years ago
Florian Mounier
ba01a5635b
Merge branch 'master' of github.com:Kozea/pygal
...
Conflicts:
pygal/style.py
12 years ago
Florian Mounier
769a5e962e
Add parametric styles
12 years ago
Anaèle Digoin
563456f3c5
Merge branch 'master' of github.com:Kozea/pygal
12 years ago
Anaèle Digoin
941cba9c55
to do 7 variations color for charts
12 years ago
Florian Mounier
953b3810e3
Add some color helpers
12 years ago
Florian Mounier
6e76b3c085
Fix sparktext Python3... 2nd edition
12 years ago
Florian Mounier
26178bff1b
Fix sparktext Python3...
12 years ago
Florian Mounier
9ae3e66ddb
Fix sparktext
12 years ago
Florian Mounier
30bc88e11c
Fix tox.ini since numpy/scipy is no more used
12 years ago
Florian Mounier
403f5971b4
Merge branch 'master' of github.com:Kozea/pygal
12 years ago
Mounier Florian
7308dee54b
Merge pull request #35 from dzen/master
...
Force self._min and self._max to be zeroed instead of None
12 years ago
Florian Mounier
a7d3a090e0
Add test case for issue #35
12 years ago
Florian Mounier
b822892a89
Fix darken/lighten
12 years ago
Anaèle Digoin
b32dc58460
Merge branch 'master' of github.com:Kozea/pygal
12 years ago
Anaèle Digoin
911a78cd0e
start style of color
12 years ago
Florian Mounier
a50bfaa98c
Minor fixes + add darken and lighten functions to style, which are broken btw
12 years ago
Florian Mounier
133df7ab07
Merge all css in one tag as a workaround for inkscape one style tag bug. Fixes #7
12 years ago
Florian Mounier
d38727a259
Add render_sparkline shorthand function and some config to make it possible
12 years ago
Florian Mounier
fc7daba3f1
Add lagrange interpolation and hermite variants
12 years ago