Skip to content

Commit

Permalink
Deprecate bokeh.{objects,glyphs,widgets}
Browse files Browse the repository at this point in the history
$ python -Qwarn -c "import bokeh.objects"
bokeh/objects.py:4: DeprecationWarning: bokeh.objects was deprecated in 0.7.0: use bokeh.models instead
  deprecated_module(__name__, "0.7.0", "use bokeh.models instead")
  • Loading branch information
mattpap committed Nov 15, 2014
1 parent 12ae8ea commit 8bb4a2f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bokeh/glyphs.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
from __future__ import absolute_import

from .deprecate import deprecated_module
deprecated_module(__name__, "0.7.0", "use bokeh.models.{glyphs,markers} instead")

from .models.glyphs import *
from .models.markers import *
3 changes: 3 additions & 0 deletions bokeh/objects.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
from __future__ import absolute_import

from .deprecate import deprecated_module
deprecated_module(__name__, "0.7.0", "use bokeh.models instead")

from .models import *
3 changes: 3 additions & 0 deletions bokeh/widgets.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
from __future__ import absolute_import

from .deprecate import deprecated_module
deprecated_module(__name__, "0.7.0", "use bokeh.models.widgets instead")

from .models.widget import Widget
from .models.widgets import *

0 comments on commit 8bb4a2f

Please sign in to comment.