i am trying to execute this code by ctlr+Enter
import time
import datetime
import matplotlib
import matplotlib.pyplot as plt
import matplotlib.pyplot as plt
import matplotlib.ticker as mticker
import matplotlib.dates as mdates
import numpy as np
def graphRawFX():
date,bid,ask = np.loadtext('GBPUSD1d.txt', unpack=True,
delimiter=',',
converters={0:mdates.strpdate2num('%Y%m%d%H%M%S')})
fig = plt.figure(figsize=(10,7))
ax1 = plt.subplot2grid((40,40), (0,0), rowspan=40, colsspan=40)
ax1.plot(date,bid)
ax1.plot(date,ask)
ax1.xaxis.set_major_formatter(mdates.DataFormatter('%Y-%m-%d %H:%M:%S'))
plt.grid(True)
plt.show()
It doest plot or shows me any error message it just doesnt do
anything...can someone help me pls
--
You received this message because you are subscribed to the Google Groups
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jupyter/ddc5b809-ce1f-428f-9bed-533fd4242b11%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.