{"action":"opened","issue":{"url":"https://api.github.com/repos/plotly/plotly.py/issues/1016","repository_url":"https://api.github.com/repos/plotly/plotly.py","labels_url":"https://api.github.com/repos/plotly/plotly.py/issues/1016/labels{/name}","comments_url":"https://api.github.com/repos/plotly/plotly.py/issues/1016/comments","events_url":"https://api.github.com/repos/plotly/plotly.py/issues/1016/events","html_url":"https://github.com/plotly/plotly.py/issues/1016","id":326154347,"number":1016,"title":"Y-axis Range not updating correctly when using subplot with shared 'yaxes'","user":{"login":"AmourKarir","id":27972916,"avatar_url":"https://avatars0.githubusercontent.com/u/27972916?v=4","gravatar_id":"","url":"https://api.github.com/users/AmourKarir","html_url":"https://github.com/AmourKarir","followers_url":"https://api.github.com/users/AmourKarir/followers","following_url":"https://api.github.com/users/AmourKarir/following{/other_user}","gists_url":"https://api.github.com/users/AmourKarir/gists{/gist_id}","starred_url":"https://api.github.com/users/AmourKarir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmourKarir/subscriptions","organizations_url":"https://api.github.com/users/AmourKarir/orgs","repos_url":"https://api.github.com/users/AmourKarir/repos","events_url":"https://api.github.com/users/AmourKarir/events{/privacy}","received_events_url":"https://api.github.com/users/AmourKarir/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-24T14:42:43Z","updated_at":"2018-05-24T14:42:43Z","closed_at":null,"author_association":"NONE","body":"Some bars were sticking out of my bar chart (I don't think this is desired behaviour) so I set the range manually. Despite doing this and setting autorange=False, the error persists.\r\n\r\nAdditionally, the top gridline for the subplots in row 2 is not showing. Could it be a scaling issue?\r\n\r\n`from plotly import tools\r\nfig = tools.make_subplots(rows=2, cols=2, subplot_titles=['A', 'B'], shared_xaxes=False, shared_yaxes=True)\r\n\r\ndata = [[10, 4, 15, 20.5], [3, 12, 22.2], [6.5, 12, 26.2], [18, 4.2, 22.2]]\r\ntraces = [go.Bar(x=['Type A', 'Type B', 'Type C'], y=d) for d in data]\r\n\r\nfig.append_trace(traces[0], 1, 1)\r\nfig.append_trace(traces[1], 1, 2)\r\nfig.append_trace(traces[2], 2, 1)\r\nfig.append_trace(traces[3], 2, 2)\r\n\r\nfig['layout']['yaxis1'].update(title='', range=[0, 25], autorange=False)\r\nfig['layout']['yaxis2'].update(title='', range=[0, 30], autorange=False)\r\n\r\npy.iplot(fig)`\r\n"}}
{"actor":{"display_login":"AmourKarir"}}