6884424a588cc282bbe90fd60e334aa97cc165d2,bokeh/models/plots.py,Plot,responsive,#Plot#Any#,619
Before Change
@responsive.setter
def responsive(self, value):
warnings.warn(DEP_MSG_0_12_0 % ("responsive", "Plot.sizing_mode"))
warnings.warn(
The "responsive" property has been deprecated in 0.12.0. It has been
replaced by "sizing_mode" which accepts one of five modes:
fixed, scale_width, scale_height, scale_both, stretch_both
"responsive = False" is the equivalent of "sizing_mode = "fixed""
"responsive = True" is the equivalent of "sizing_mode = "scale_width""
)
if value is True:
self.sizing_mode = "scale_width"
elif value is False:
self.sizing_mode = "fixed"
After Change
@responsive.setter
def responsive(self, value):
deprecated((0, 12, 0), "Plot.responsive", "Plot.sizing_mode",
Plot.sizing_mode which accepts one of five modes:
fixed, scale_width, scale_height, scale_both, stretch_both
"responsive = False" is the equivalent of "sizing_mode = "fixed""
"responsive = True" is the equivalent of "sizing_mode = "scale_width""
)
if value is True:
self.sizing_mode = "scale_width"
elif value is False:
self.sizing_mode = "fixed"
In pattern: SUPERPATTERN
Frequency: 7
Non-data size: 4
Instances
Project Name: bokeh/bokeh
Commit Name: 6884424a588cc282bbe90fd60e334aa97cc165d2
Time: 2016-09-28
Author: mattpap@gmail.com
File Name: bokeh/models/plots.py
Class Name: Plot
Method Name: responsive
Project Name: bokeh/bokeh
Commit Name: 6884424a588cc282bbe90fd60e334aa97cc165d2
Time: 2016-09-28
Author: mattpap@gmail.com
File Name: bokeh/models/plots.py
Class Name: Plot
Method Name: background_fill
Project Name: bokeh/bokeh
Commit Name: 6884424a588cc282bbe90fd60e334aa97cc165d2
Time: 2016-09-28
Author: mattpap@gmail.com
File Name: bokeh/models/plots.py
Class Name: Plot
Method Name: background_fill
Project Name: bokeh/bokeh
Commit Name: 6884424a588cc282bbe90fd60e334aa97cc165d2
Time: 2016-09-28
Author: mattpap@gmail.com
File Name: bokeh/charts/builder.py
Class Name: Builder
Method Name: sort_legend
Project Name: bokeh/bokeh
Commit Name: 6884424a588cc282bbe90fd60e334aa97cc165d2
Time: 2016-09-28
Author: mattpap@gmail.com
File Name: bokeh/models/plots.py
Class Name: Plot
Method Name: border_fill
Project Name: bokeh/bokeh
Commit Name: 6884424a588cc282bbe90fd60e334aa97cc165d2
Time: 2016-09-28
Author: mattpap@gmail.com
File Name: bokeh/charts/builder.py
Class Name: Builder
Method Name: sort_legend
Project Name: bokeh/bokeh
Commit Name: 6884424a588cc282bbe90fd60e334aa97cc165d2
Time: 2016-09-28
Author: mattpap@gmail.com
File Name: bokeh/models/plots.py
Class Name: Plot
Method Name: border_fill