labels = [1890, 1900, 1910, 1920, 1930, 1940, 1950, 1960, 1970, 1980, 1990, 2000, 2010, 2020]
hx=129/13
tickvals = [1890, 1900, 1910, 1920, 1930, 1940, 1950, 1960, 1970, 1980, 1990, 2000, 2010, 2020, df.index.max()]
layout = go.Layout(
title='Folyóiratok száma évenként',
xaxis=go.layout.XAxis(
tickvals=tickvals,
ticktext=labels,
#title='x Axis',
titlefont=dict(
size=14,
color='#7f7f7f'
)
),
yaxis=dict(
title='number of journals',
titlefont=dict(
size=12,
color='#7f7f7f'
)
)
)
fig = df.iplot(asFigure=True, kind='area', fill=True, layout=layout, dimensions=(800,500))
df.iplot(kind='area', fill=True, layout=layout, dimensions=(800,500))