removed window.Plotly check and removed extra conditions on optional require lines
removed window.Plotly check and removed extra conditions on optional require lines

plotly/python-api,plotly/plotly.py,plotly/plotly.py,plotly/python-api,plotly/python-api,plotly/plotly.py