JointGrid annotation raises DeprecationWarning but docs don't mention any deprecation
See original GitHub issueAnnotating a JointGrid (e.g.😃
fg = sns.jointplot(x=x, y=y, data=df)
fg = fg.annotate(rsquare, template="{stat}: {val:.2f}", stat="$R^2$", loc="upper left", fontsize=12)
raises the following warning:
...\python37\lib\site-packages\seaborn\axisgrid.py:1847: UserWarning: JointGrid annotation is deprecated and will be removed in a future release.
warnings.warn(UserWarning(msg))
However, the docs for JointGrid don’t mention any deprecation, nor an alternative. Perhaps the alternative should be stated in the warning, too?
Additionally, if it is deprecated, when will it be removed?
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
python - How to warn about class (name) deprecation
Here is the list of requirements a solution should satisfy: Instantiation of a deprecated class should raise a warning ...
Read more >seaborn.JointGrid — seaborn 0.12.1 documentation - PyData |
Grid for drawing a bivariate plot with marginal univariate plots. Many plots can be drawn by using the figure-level interface jointplot() . Use...
Read more >FRETBursts Documentation
For documentation purposes, this is the list of dependencies to run FRETBursts: • Python 3.5+ or 2.7 (deprecated). • Numpy 1.6+.
Read more >Who should see Python deprecation warnings? - LWN.net
There were a few ideas raised, such as emitting warnings for all code located under the directory containing the initial script, but the...
Read more >try raise python program Code Example - Code Grepper
try: # Your code here except: raise Exception("ERROR: Some specific Error Message") ... get list of items only on 1list but not in...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@mwaskom I don’t mean to be annoying, but will something be done about this? Also, what is the alternative to
annotate
(if there is any)?I guess what I’m trying to say is - I don’t see why this issue was closed since the cause for opening this issue hasn’t been fixed.
Can’t get everything right.