Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pyqgis_developer_cookbook example calls for xMin() instead of xMinimum() #17836

Closed
qgib opened this issue Dec 13, 2013 · 1 comment
Closed

pyqgis_developer_cookbook example calls for xMin() instead of xMinimum() #17836

qgib opened this issue Dec 13, 2013 · 1 comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Documentation Changes to Documentation, README, INSTALL, etc

Comments

@qgib
Copy link
Contributor

qgib commented Dec 13, 2013

Author Name: Brian Freed (@bfreed)
Original Redmine Issue: 9212
Affected QGIS version: 2.0.1
Redmine category:documentation_and_help


http://www.qgis.org/en/docs/pyqgis_developer_cookbook/canvas.html

In the "Writing Custom Map Tools" example, in the canvasReleaseEvent method definition,

"print "Rectangle:", r.xMin(), r.yMin(), r.xMax(), r.yMax()"
should read:
"print "Rectangle:", r.xMinimum(), r.yMinimum(), r.xMaximum(), r.yMaximum()"

Otherwise, awesome example - thanks so much!

@qgib
Copy link
Contributor Author

qgib commented Mar 5, 2015

Author Name: Alexander Bruy (@alexbruy)


Fixed in documentation master


  • resolution was changed from to fixed/implemented
  • status_id was changed from Open to Closed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Documentation Changes to Documentation, README, INSTALL, etc labels May 24, 2019
@qgib qgib closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Documentation Changes to Documentation, README, INSTALL, etc
Projects
None yet
Development

No branches or pull requests

1 participant