Skip to content

Commit

Permalink
[SymForce] Remove deprecated stuff
Browse files Browse the repository at this point in the history
This has all been deprecated for a couple releases, so I'm removing

Tested the matplotlib thing is also fine now

Reviewers: bradley,nathan,hayk,ryan-b,samuel-w
Topic: sf-deprecated
GitOrigin-RevId: 8c9c3417ab237eedb487de858209dcc3dd8181fe
  • Loading branch information
aaron-skydio committed Apr 17, 2023
1 parent 47b4ccc commit 2683835
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 39 deletions.
13 changes: 0 additions & 13 deletions symforce/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,19 +221,6 @@ def get_symbolic_api() -> str:
return _symbolic_api


# NOTE(hayk): Remove this after they are present in a release or two.


def get_backend() -> str:
warnings.warn("`get_backend` is deprecated, use `get_symbolic_api`", FutureWarning)
return get_symbolic_api()


def set_backend(name: str) -> None:
warnings.warn("`set_backend` is deprecated use `set_symbolic_api`", FutureWarning)
return set_symbolic_api(name)


# --------------------------------------------------------------------------------
# Default epsilon
# --------------------------------------------------------------------------------
Expand Down
8 changes: 0 additions & 8 deletions symforce/notebook_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,9 @@
"""
Helpers for interactive use in a Jupyter notebook with an IPython kernel.
"""
import warnings

import IPython
import matplotlib
import pygments

# NOTE(aaron): This is currently nice-to-have, otherwise every time we display something LaTeX we
# get this warning. It's fixed in IPython master (https://github.com/ipython/ipython/pull/12889),
# so once that fix is in a release this can be removed
warnings.filterwarnings("ignore", category=matplotlib.MatplotlibDeprecationWarning)

import sympy as sympy_py

sympy_py.init_printing()
Expand Down
18 changes: 0 additions & 18 deletions symforce/sympy.py

This file was deleted.

0 comments on commit 2683835

Please sign in to comment.