Ensure consistent naming of column data sources. Naming ensures that Chart.data property will populate correctly.
(data_frame, series_name)
| 134 | |
| 135 | @staticmethod |
| 136 | def _named_column_data_source(data_frame, series_name): |
| 137 | """Ensure consistent naming of column data sources. |
| 138 | Naming ensures that Chart.data property will populate correctly. |
| 139 | """ |
| 140 | cannonical_series_name = BasePlot._cannonical_series_name(series_name) |
| 141 | return bokeh.models.ColumnDataSource(data_frame, name=cannonical_series_name) |
| 142 | |
| 143 | def _cast_datetime_axis(self, data_frame, column): |
| 144 | if self._chart._x_axis_type == "datetime": |
no test coverage detected