This commit is contained in:
Kovid Goyal 2009-03-18 11:49:58 -07:00
parent e685f4f79d
commit a89532625a
2 changed files with 4 additions and 1 deletions

View File

@ -333,9 +333,9 @@ class Splitter(LoggingInterface):
'//pre',
'//hr',
'//p',
'//div',
'//br',
'//li',
'//div',
):
elems = root.xpath(path,
namespaces={'re':'http://exslt.org/regular-expressions'})

View File

@ -205,6 +205,9 @@ class Server(object):
ax.set_xlabel('Days ago')
ax.set_ylabel('Income ($)')
ax.hlines([stats.daily_average], 0, days-1)
ax.hlines([stats.daily_average+stats.daily_deviation,
stats.daily_average-stats.daily_deviation], 0, days-1,
linestyle=':',color='r')
ax.set_xlim([0, days-1])
text = u'''\
Total: $%(total).2f