Skip to content

Commit

Permalink
added example images
Browse files Browse the repository at this point in the history
  • Loading branch information
SamPom100 committed Apr 21, 2020
1 parent 8d67f49 commit 3e239bb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file added calls heat map.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added puts heat map.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def PutsOIMap(): # plt.style.use("dark_background")
callsArray = pd.merge(callsArray, callsArray2, on='strike')
callsArray.set_index('strike', inplace=True)
print(callsArray)
heat_map = sb.heatmap(callsArray, cmap="Reds", linewidths=0)
heat_map = sb.heatmap(callsArray, cmap="Blues", linewidths=0)
global ArrayStore
ArrayStore = callsArray
plt.yticks(rotation=0)
Expand Down Expand Up @@ -206,7 +206,7 @@ def PutsVolumeMap():
callsArray.set_index('strike', inplace=True)
callsArray = callsArray.fillna(0)
print(callsArray)
heat_map = sb.heatmap(callsArray, cmap="Reds", linewidths=0)
heat_map = sb.heatmap(callsArray, cmap="Blues", linewidths=0)
global ArrayStore
ArrayStore = callsArray
plt.yticks(rotation=0)
Expand Down

0 comments on commit 3e239bb

Please sign in to comment.