Thanks Oliver. Since I posted, I got it to work. I am using Julia.
*using Plots* *plotlyjs()* *# Aedge is an associative array. Aedge.A is it's internal array.* *scatter(Aedge.A, layout = 1, markersize=Aedge.A, marker=:hex, c=:red, fmt = :svg) * On Wed, Jan 9, 2019 at 4:31 PM Oliver Frank <[email protected]> wrote: > Hi Geoffry, > > an example which works for me in jupyter lab. > > ------------------------------------------------------------------------ > > import plotly.plotly as py > from plotly import tools > import plotly.offline as offline > import plotly.graph_objs as go > > > import pandas as pd > from datetime import datetime > > df = pd.read_csv(' > https://raw.githubusercontent.com/plotly/datasets/master/finance-charts-apple.csv')[1:20] > > # Date,AAPL.Open,AAPL.High,AAPL.Low,AAPL.Close,AAPL.Volume,AAPL.Adjusted, > # dn,mavg,up,direction > > #print(df['AAPL.High']) > #print(df.Date) > > trace1 = go.Scatter(name="AAPL.Open", x=df.Date, y=df['AAPL.Open']) > trace2 = go.Scatter(name="AAPL.Low", x=df.Date, y=df['AAPL.Low']) > trace3 = go.Scatter(name="AAPL.High", x=df.Date, y=df['AAPL.High']) > trace4 = go.Scatter(name="dn", x=df.Date, y=df['dn']) > trace5 = go.Scatter(name="mavg", x=df.Date, y=df['mavg']) > trace6 = go.Scatter(name="direction", x=df.Date, y=df['direction']) > > layout = go.Layout( > xaxis=dict( > title='X-AXIS TITLE', > autorange=True, > showgrid=False, > zeroline=False, > showline=False, > ticks='', > showticklabels=False > ), > yaxis=dict( > title='Y-AXIS TITLE', > autorange=True, > showgrid=False, > zeroline=False, > showline=False, > ticks='', > showticklabels=False > ) > ) > > fig = tools.make_subplots(rows=3, cols=2, subplot_titles=('AAPL.Open', > 'AAPL.Low', > 'AAPL.High', > 'dn', > 'mavg', > 'direction', > ) > ) > > fig.append_trace(trace1, 1, 1) > fig.append_trace(trace2, 1, 2) > fig.append_trace(trace3, 2, 1) > fig.append_trace(trace4, 2, 2) > fig.append_trace(trace5, 3, 1) > fig.append_trace(trace6, 3, 2) > > > fig['layout'].update(layout) > > # Result in a jupyter cell > py.iplot(fig, filename='make-subplots-multiple-with-titles') > > # Result in an new Tab > # offline.plot(data, filename='time-series-simple.html') > > ------------------------------------------------------------------------ > > Oliver > > > Am Mittwoch, 9. Januar 2019 22:21:33 UTC+1 schrieb Oliver Frank: >> >> Hi Geoffry, >> >> is it possible that you use another Environment? I had the same Problem. >> On the commandline the configfile .plotly/.credentials was used anderen >> under juyter another configfile was used. >> > -- > 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/4d0d1b5b-411c-4763-9760-e7522145416a%40googlegroups.com > <https://groups.google.com/d/msgid/jupyter/4d0d1b5b-411c-4763-9760-e7522145416a%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- There are ways and there are ways, Geoffry Roberts -- 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/CAHVMgJh1ok6WZhLAksaH2sHYciCGocNb6RSPN_x8uYirOY16uw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
