Ticket #11: pycha-0.3.0.patch
| File pycha-0.3.0.patch, 0.7 kB (added by jae@…, 4 years ago) |
|---|
-
src/chart.py
diff -r -u pycha-0.3.0.orig/src/chart.py pycha-0.3.0/src/chart.py
old new 382 382 tickExtents = [cx.text_extents(unicode(tick[1]))[2:4] for tick in ticks] 383 383 tickWidth = tickHeight = 0.0 384 384 if tickExtents: 385 tickHeight = tickHeight = self.options.axis.tickSize + 4.0 385 tickHeight = self.options.axis.tickSize + 4.0 386 tickWidth = self.options.axis.tickSize + 4.0 386 387 widths, heights = zip(*tickExtents) 387 388 maxWidth, maxHeight = max(widths), max(heights) 388 389 if rotate:
