Whitespace churn on Graph viewer
This commit is contained in:
parent
a1ed9603f3
commit
fefbcfca65
|
@ -85,7 +85,8 @@ class GuiGraphViewer (threading.Thread):
|
|||
self.ax.grid(color='g', linestyle=':', linewidth=0.2)
|
||||
text = "All Hands, " + sitename + str(name) + "\nProfit: $" + str(line[-1]) + "\nTotal Hands: " + str(len(line))
|
||||
|
||||
self.ax.annotate(text, xy=(10, -10),
|
||||
self.ax.annotate(text,
|
||||
xy=(10, -10),
|
||||
xycoords='axes points',
|
||||
horizontalalignment='left', verticalalignment='top',
|
||||
fontsize=10)
|
||||
|
@ -101,7 +102,7 @@ class GuiGraphViewer (threading.Thread):
|
|||
|
||||
def getRingProfitGraph(self, name, site):
|
||||
self.cursor.execute(self.sql.query['getRingProfitAllHandsPlayerIdSite'], (name, site))
|
||||
# returns (HandId,Winnings,Costs,Profit)
|
||||
#returns (HandId,Winnings,Costs,Profit)
|
||||
winnings = self.db.cursor.fetchall()
|
||||
|
||||
y=map(lambda x:float(x[3]), winnings)
|
||||
|
@ -308,5 +309,3 @@ class GuiGraphViewer (threading.Thread):
|
|||
self.leftPanelBox.show()
|
||||
self.graphBox.show()
|
||||
|
||||
#Note: Assumes PokerStars is in the config
|
||||
# self.nameEntry.set_text(self.conf.supported_sites["PokerStars"].screen_name)
|
||||
|
|
Loading…
Reference in New Issue
Block a user