add more conditions for the use of optional require lines
add more conditions for the use of optional require lines

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