jupyter / jupyter/notebook

some problem with scatter and annotate

Open
#1,697 2 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Jupyter Notebook
Stars
13.3k
Forks
5.8k
Avg merge
6d 11h
Merged PRs (30d)
7

Description

When I run this example,

``` python
from IPython.core.display import display, HTML
display(HTML(".container { width:100% !important; }"))

%pylab
%matplotlib inline
#mpl.rcParams['ytick.labelsize']='large'
matplotlib.rcParams.update({'font.size': 15})

StandFreq = 6666; DevFreq = 9600

scatter([0],[0],marker='|')
annotate('d',(5550,600),color='green')
```

this is the result that I get:

![image](https://cloud.githubusercontent.com/assets/8983713/17837284/da958422-67b7-11e6-8ade-f886901cbef2.png)

When I do not use the annotate function I get a correct scatter:

![image](https://cloud.githubusercontent.com/assets/8983713/17837288/eba20dbc-67b7-11e6-8e97-88b3a4d7461d.png)

Thanks..

Contributor guide

Open the contributing guide

Research direction

Run the provided Python example in Jupyter Notebook with matplotlib first, then compare the scatter-only and annotate cases and inspect the rendered output. The issue is done when the rendering difference is explained and a regression test or documented resolution covers the expected plot behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook, matplotlib, python
Domain
data-visualization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.