Hello cairoplot folks! Im new to cairoplot and found it while googling for a python library to generate good looking graphs. What I need is the graph generated by cairoplot.dot_line_plot(). But whatever I do, the graphs are shown without the desired dots. This is the example I use: data = { "john" : [10, 10, 10, 10, 30], "mary" : [0, 0, 3, 5, 15], "philip" : [13, 32, 11, 25, 2] } x_labels = ["jan/2008", "feb/2008", "mar/2008", "apr/2008", "may/2008"] cairoplot.dot_line_plot("tmp/graph_dot", data, 400, 300, axis = True, grid = True, series_legend = True, x_labels = x_labels, dots=True) I use this in a script on a Centos 6 server running python 2.6.6. According to http://cairoplot.sourceforge.net/tutorials.html (ubuntu install guide) it requires python 2.5. Is it incompatible with python 2.6.6? I use cairoplot version 1.2. thank you, rand0m
self.max_value[direction] = max(self.context.text_extents(item)[2] for item in self.labels[direction])
self.max_value[direction] = max(self.context.text_extents(str(item))[2] for item in self.labels[direction])
data = { "john" : [10, 10, 10, 10, 30], "mary" : [0, 0, 3, 5, 15], "philip" : [13, 32, 11, 25, 2] }x_labels = ["jan/2008", "feb/2008", "mar/2008", "apr/2008", "may/2008"]
cairoplot.dot_line_plot("tmp/graph_dot", data, 400, 300, axis = True, dots = True,
grid = True, series_legend = True, x_labels = x_labels, dots=True)
--To view this discussion on the web visit https://groups.google.com/d/msg/cairoplot/-/9JN74a2PKXMJ.
You received this message because you are subscribed to the Google Groups "CairoPlot" group.
To post to this group, send email to cair...@googlegroups.com.
To unsubscribe from this group, send email to cairoplot+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cairoplot?hl=en.
To view this discussion on the web visit https://groups.google.com/d/msg/cairoplot/-/k_cW-Mrt-GUJ.
To post to this group, send email to cair...@googlegroups.com.
To unsubscribe from this group, send email to cairoplot+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cairoplot?hl=en.
To unsubscribe from this group, send email to cairoplot+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cairoplot?hl=en.
--
Rodrigo Araújo
To view this discussion on the web visit https://groups.google.com/d/msg/cairoplot/-/UYl8q7Ow05AJ.
To post to this group, send email to cair...@googlegroups.com.
To unsubscribe from this group, send email to cairoplot+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cairoplot?hl=en.
To view this discussion on the web visit https://groups.google.com/d/msg/cairoplot/-/_AHUesLn4ngJ.
--
You received this message because you are subscribed to the Google Groups "CairoPlot" group.
To view this discussion on the web visit https://groups.google.com/d/msg/cairoplot/-/YSIyO3tCYJwJ.
To view this discussion on the web visit https://groups.google.com/d/msg/cairoplot/-/5tF3KtangIwJ.
To post to this group, send email to cair...@googlegroups.com.
To unsubscribe from this group, send email to cairoplot+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cairoplot?hl=en.