matplotlib-scalebar icon indicating copy to clipboard operation
matplotlib-scalebar copied to clipboard

Warning Issued on calling Scalebar

Open bidhya opened this issue 9 years ago • 2 comments

Every time I import ScaleBar as here, %matplotlib inline import matplotlib.pyplot as plt from matplotlib_scalebar.scalebar import ScaleBar

I get the following warning

C:\Anaconda2\lib\site-packages\matplotlib_init.py:1357: UserWarning: This call to matplotlib.use() has no effect because the backend has already been chosen; matplotlib.use() must be called before pylab, matplotlib.pyplot, or matplotlib.backends is imported for the first time. warnings.warn(use_error_msg)

Can you please check what is going on here. I am on Windows 10 with Anaconda 32 bit Python 2.7

bidhya avatar Nov 23 '16 23:11 bidhya

Thank you for reporting this issue. To help me understand it, could you let me know which version of matplotlib and ipython are you using?

import matplotlib
matplotlib.__version__
import IPython
IPython.__version__

ppinard avatar Nov 24 '16 23:11 ppinard

matpotlib version = 1.5.3 IPython version = 5.1.0 Please let me know @ppinard if you need more information to resolve this issue.

bidhya avatar Dec 05 '16 08:12 bidhya

Close as this has not been since for a while.

ppinard avatar May 19 '23 19:05 ppinard