Mercurial Hosting > traffic-intelligence
changeset 214:9c7fc6899c0e
corrected name typos in drawOnWorldImage
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Thu, 07 Jun 2012 01:20:25 -0400 |
parents | 5cde6da74605 |
children | 5e2983b05d4e |
files | python/moving.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/python/moving.py Thu Jun 07 00:53:30 2012 -0400 +++ b/python/moving.py Thu Jun 07 01:20:25 2012 -0400 @@ -495,8 +495,8 @@ def draw(self, options = '', withOrigin = False, **kwargs): self.positions.draw(options, withOrigin, **kwargs) - def drawWorldOnImage(self, nPixelsPerUnitDistance, imageHeight, options = '', withOrigin = False): - self.positions.drawWorldOnImage(nPixelsPerUnitDistance, imageHeight, options, withOrigin) + def drawOnWorldImage(self, nPixelsPerUnitDistance, imageHeight, options = '', withOrigin = False, **kwargs): + self.positions.drawOnWorldImage(nPixelsPerUnitDistance, imageHeight, options, withOrigin, **kwargs) def getInstantsCrossingLane(self, p1, p2): '''Returns the instant(s)