(gd)
| 36 | * draw: draw all annotations without any new modifications |
| 37 | */ |
| 38 | function draw(gd) { |
| 39 | var fullLayout = gd._fullLayout; |
| 40 | |
| 41 | fullLayout._infolayer.selectAll('.annotation').remove(); |
| 42 | |
| 43 | for(var i = 0; i < fullLayout.annotations.length; i++) { |
| 44 | if(fullLayout.annotations[i].visible) { |
| 45 | drawOne(gd, i); |
| 46 | } |
| 47 | } |
| 48 | |
| 49 | return Plots.previousPromises(gd); |
| 50 | } |
| 51 | |
| 52 | /* |
| 53 | * drawOne: draw a single cartesian or paper-ref annotation, potentially with modifications |
nothing calls this directly
no test coverage detected
searching dependent graphs…