Skip to content

Remove whitespace. Remove unused variable j. #909

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Jan 22, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix unnecessary parens after 'not' keyword (superfluous-parens).
  • Loading branch information
jbampton committed Jan 6, 2018
commit 6f83cf08915d4c904b5040a7d85070f531b02a5e
2 changes: 1 addition & 1 deletion plotly/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def update_session_plot_options(**kwargs):
.format(key, PLOT_OPTIONS[key]))

# raise exception if sharing is invalid
if (key == 'sharing' and not (kwargs[key] in SHARING_OPTIONS)):
if key == 'sharing' and not (kwargs[key] in SHARING_OPTIONS):
raise exceptions.PlotlyError("'{0}' must be of either '{1}', '{2}'"
" or '{3}'"
.format(key, *SHARING_OPTIONS))
Expand Down