1,634 questions
0
votes
1
answer
34
views
Reducing space between two groupplot figures in overleaf [closed]
I currently have two groupplot figures placed on after another as shown below. There is a large vertical space between them once the document is compiled and I would like to reduce it.
I have tried:
\...
0
votes
0
answers
46
views
Changing post and line colour in deg patterns cluster figures
I have had cluster plots produced for some RNA Seq time course data using the LRT analysis. I believe the plots are produced using the command:
clusters <- degPatterns(cluster_rlog, metadata = meta,...
1
vote
2
answers
98
views
Match of factors to colors in palette in ggstatsplot?
Should not the number of factors match the number of supplied colors of a palettes in ggstatsplot::ggbetweenstats()?
Hence, why does
test_data <- data.frame(
group = factor(rep(c("A", ...
2
votes
0
answers
39
views
Figures with shared legend - Bokeh
I would like to do two figures, coming from the same dataframe, with a shared legend.
The main goal is to be able to have one single legend for both plots and to hide data with the click_policy='hide' ...
1
vote
1
answer
48
views
Change number of ticks labeled using LogFormatter in Matplotlib
In Matplotlib's documentation for matplotlib.ticker.LogFormatter it is stated that with the parameter minor_thresholds one can control the labeling of minor ticks:
If labelOnlyBase is False, these ...
0
votes
1
answer
92
views
In RestructuredText how would you have automatic numbering of figures without a caption?
I put figures in a grid using sphinx-design and I would need multiple lines captions that have a specific layout, like certain items placed at the beginning of a new line.
I decided to place the ...
0
votes
0
answers
40
views
Scatter plot in python with x/y-ticks on a haircross? [duplicate]
I want to create a scatter plot with a hair-cross (vertical and horizontal line) at the centre. The x-ticks and y-ticks also need to be shown on this hair-cross. How can I do that?
Sample Required ...
1
vote
2
answers
290
views
How to control plot size whith different legend size matplotlib
I want to have 2 plots of the same size. The size of the figure is not as important.
The only change I am making is to the length of the labels.
(In reallity I have 2 related data sets )
A long label ...
0
votes
1
answer
56
views
How to activate plt.show() when creating axes without pyplot in matplotlib?
I have a script like this which when executed opens up a new window with the figure.
import matplotlib.pyplot as plt
fig = plt.Figure()
# ax = fig.add_axes(rect=(0.1, 0.0, 0.9, 1.0)) # does not open ...
0
votes
2
answers
76
views
Is creating button group with `<figure>` correct and comply with WCAG?
I am creating a button group with label like this:
The HTML code I am now writing:
<figure class="toggler-widget">
<figcaption class="toggler-label">Sort By:</...
0
votes
1
answer
133
views
How to arrange figures in a grid?
I have six pairs of vertically stacked figures. I want to arrange the figures into a 3x2 grid. However, I don't find a way to do it. Since I will receive the required figures from an existing function ...
1
vote
1
answer
89
views
How can I create a separate count for supplementary figures?
For my thesis, I would like to have the option to count supplementary figures separately, but be able to mention them within the main text, without showing them.
If I simply add a figure in my ...
0
votes
0
answers
53
views
Matplotlib: wrong positions of the cursors on a graph
In the program below, I want to place 2 vertical cursors at 2 defined positions on the ais x. The problem is that, as you can see in the screenshot, the cursors do not match the values chosen in the ...
0
votes
0
answers
33
views
How do I include figure text outside the plot in matplotlib animated chart?
I am trying to include a figure text outside the plot @(0.15, -0.25). This works in a normal chart. But when I try yo animate this, it gets eliminated. Basically anything that is outside the plot (...
1
vote
3
answers
579
views
Using plt.figure(figsize=()) results in multiple plots. How can I fix it?
My knowledge of python is very rudimentary, and I’m using it properly for the first for a summer project. I’m plotting the orbit diagram for a logistic map. In order to increase the size of my plot, I ...