Skip to main content

Questions tagged [annotate]

Use this tag for questions related to annotating plots, e.g. adding descriptive labels or annotations to data points.

0 votes
0 answers
12 views

Highlight areas of interactive time series plotly plot where y is greater than defined threshold and annotate them

I would like to highlight sections of plotly plot that have values higher than a certain threshold and annotate them. As I am manually screening each highlighted area on the plots is there a way I can ...
LZ24AP's user avatar
  • 41
0 votes
1 answer
49 views

ggplot2 faceting and adding unique labels for each facet in a for loop in R

I am trying to add a unique label to each faceted panel in my plots. Below is the code which I annotated and will describe in detail below: ebird <- left_join(ebird, cor, by = ...
Nick's user avatar
  • 145
0 votes
1 answer
57 views

Annotating each point on the graph on a loop with matplotlib

I am trying to annotate each point the graphs on the loop with the country but can not figure out how to di it in a loop. Here is the code: import pandas as pd import matplotlib.pyplot as plt import ...
Alma's user avatar
  • 31
1 vote
1 answer
31 views

ggplot2 text in top margin, flipped coordinates

I would like to add some text to a plot in the top margin, but all the solutions I could find messed up the flipped coordinate system after using coord_flip() var1<- c("ab", "cd"...
user25445882's user avatar
0 votes
0 answers
19 views

Adding table to one plot of facet_grid ggplot [duplicate]

I'm trying to add a table to the plotting region of one plot that is part of a larger facet_grid ggplot. My question is very similar to an earlier question, except I only want a plot on panel "A&...
Tracy Campbell's user avatar
1 vote
1 answer
37 views

Django group by after annotate does not work

I have the following Django models: class Order(models.Model): ... org_slug = models.CharField() class ProductToOrder(models.Model): order = models.ForeignKey(Order, on_delete=models....
User Dev's user avatar
1 vote
1 answer
54 views

Text Alignment in R Magick package

I am trying to align text to its placement coordinate centrally using the magick package in R and image_annotate... So in this example #Load Graphic pb<-image_read("https://art.pixilart.com/...
DJD's user avatar
  • 73
1 vote
0 answers
32 views

Changing arrowhead style of 2 of the six vectors in a 3D plot

I would like to lay emphasis on the fact that two of the vectors pointing towards one specific point (environment) are different from the other vectors. I thought of doing so by changing the arrow ...
Maud van Lier's user avatar
1 vote
1 answer
31 views

How to exclude instances with empty querysets in prefetch_related?

I have two models - Project and Contract. They have one-to-many relationship. class Contract(models.Model): project = models.ForeignKey(Project) I get a qs of Project instances with relevant ...
S.Shevchenko's user avatar
0 votes
0 answers
26 views

Defining y value within annotate as value in column after selectInput

I have a plot for each category that can be selected via selectInput. In each plot, there is a horizontal line that indicates the control mean. The height of this line changes for each category. The ...
hks's user avatar
  • 135
0 votes
0 answers
21 views

Jupyter Lab in AWS SageMaker | Interactive Visualizations | Unable to display Tool Tip when Hover over Data Points

Followed this article which guides with example code for building scatter plot with Annotations. This worked like a charm in Jupyter Notebook. When Tried the same code in Jupyter Lab unable to run it ...
Chava Sai Teja's user avatar
0 votes
1 answer
49 views

Use hover inputs to annotate a ggplot in Shiny?

I am working on Shiny app. One of the plots in my app is an area plot of Chicago evictions over time. I have permanent annotations on the plot for the peak and most recent values in the data (2012 and ...
fvescia's user avatar
1 vote
1 answer
33 views

Plot arrow outside of figure instead of inside

I am trying to plot the arrow outside of the figure. I have tried a number of different options, but they keep plotting the arrow inside the figure. Is there a way to plot it outside the bounding box? ...
L55's user avatar
  • 213
1 vote
2 answers
27 views

How to annotate field for the right sorting

I annotate queryset in Django like this: q_set = q_set.annotate( period=Concat( ExtractYear(date_field), Value(' - '), ExtractMonth(...
Max Maximum's user avatar
0 votes
1 answer
126 views

How to add multiple labels to faceted ggplot outside of the plot?

I use facet_rep_grid to visualize different variables over the same x-axis. Now I would like to label the top left of each facet with "A", "B", "C" etc. what i have looks ...
Becci's user avatar
  • 15

15 30 50 per page
1
2 3 4 5
34