Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2b05ece

Browse files
committed
trim down plot options
1 parent 4f86607 commit 2b05ece

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

plotly/plotly/plotly.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ def _plot_option_logic(plot_options_from_call_signature):
111111
user_plot_options.update(file_options)
112112
user_plot_options.update(session_options)
113113
user_plot_options.update(plot_options_from_call_signature)
114+
user_plot_options = {k: v for k, v in user_plot_options
115+
if k in default_plot_options}
114116

115117
return user_plot_options
116118

0 commit comments

Comments
 (0)