On Sat, Feb 25, 2012 at 2:48 AM, Peter Bienstman
<[email protected]> wrote:
> If I recall correctly, that's a matter of adding "." as extra argument to the
> plot command (see the matplotlib docs for more info).
For those following along at home, the edit is:
=== modified file 'mnemosyne/mnemosyne/example_plugins/avg_grade_statistics.py'
--- mnemosyne/mnemosyne/example_plugins/avg_grade_statistics.py 2012-02-24
19:51:22 +0000
+++ mnemosyne/mnemosyne/example_plugins/avg_grade_statistics.py 2012-02-25
16:51:49 +0000
@@ -93,7 +93,7 @@
else:
raise AttributeError, "Invalid variant"
# Plot data.
- self.axes.plot(self.page.x, self.page.y)
+ self.axes.plot(self.page.x, self.page.y, ".")
self.axes.set_title(self.title)
self.axes.set_xlabel(_("Days"))
self.axes.set_xticks(xticks)
@@ -110,4 +110,3 @@
from mnemosyne.libmnemosyne.plugin import register_user_plugin
register_user_plugin(AvgGradePlugin)
-
And the result looks like: http://i.imgur.com/A5JiQ.png
--
gwern
http://www.gwern.net
--
You received this message because you are subscribed to the Google Groups
"mnemosyne-proj-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/mnemosyne-proj-users?hl=en.