Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
29 views

I have an activity and inside this using Fragment with ConstraintLayout container. I enabled left navigation bar with swipe right but I am not able to dismiss it or know if it's dismissed as per my ...
Bajrang Hudda's user avatar
-1 votes
2 answers
78 views

I'm trying to use JTable to make a 9x9 grid, and then use a BorderColorRenderer to set every 3rd column and row to have a thicker line (think sudoku board). I can easily get it working one way (i.e. ...
RRS's user avatar
  • 23
0 votes
1 answer
342 views

I am trying to implement the following code to handle Insets in Android 15 targeting API level 35: ViewCompat.setOnApplyWindowInsetsListener(gridView, (v, windowInsets) -> { Insets insets = ...
Mario S's user avatar
  • 301
0 votes
1 answer
95 views

I'm using InsetPosition and mark_inset to make a subplot so that I have the lines connecting them. However, I can't get the lines to be on top of the legend in the first plot. Any thoughts on how I ...
Steven Thomas's user avatar
0 votes
1 answer
382 views

I'm having a trouble dealing with so many tables in indesign, there are approximately around 200 tables with the same characteristics. I'm wondering if anyone know any indesign script to right align ...
M Febrian Rizky R's user avatar
2 votes
1 answer
2k views

I'm using in my app the method navigationBarsPadding() to add a bottom padding, with the same value as the navigation bars, to a composable. Unfortunately, this doesn't work when I launch the app ...
andronaline's user avatar
1 vote
2 answers
264 views

For a Carousel custom component we are using a TabView with the following modifier: .tabViewStyle(.page(indexDisplayMode: .never)) Everything is working quite well, except that during rotation ...
valvoline's user avatar
  • 8,157
0 votes
1 answer
254 views

TL;DR: I've been trying to add a white inset box shadow to highlight the bottom of a div in nav. When resizing the page, as the nav resizes, 1px white borders appeared on the left and right sides of ...
Anirudh's user avatar
2 votes
1 answer
1k views

I made a plot using ggplot2. From this plot, I want to highlight and zoom in on two different areas. To do this I used the ggforce package and the facet_zoom( ) function. However, this function only ...
Daniel Valencia C.'s user avatar
2 votes
0 answers
310 views

I am trying to insert a Kaplan-Meier inset "zoom" plot into the same KM plot (when Survival curves are very similar to allow more accurate inspection). This is currently used by many ...
q050cr's user avatar
  • 21
0 votes
0 answers
606 views

Running iOS 16.1 app through XCode iPhone 14 Pro Max (phy. device), where 'view' is my VC's main view, I'm getting a view.safeAreaInset.top value of 97.66666... which is much higher than the 59.0 ...
clearlight's user avatar
  • 12.7k
2 votes
0 answers
447 views

I have a list of ExposedDropdownMenus and an edge-to-edge state of app implemented by using insets. WindowInsetsControllerCompat(window, bindingActivity.root).let { controller -> ...
Ivan Beskorovayniy's user avatar
3 votes
0 answers
257 views

Basically, how to do the following with plotly, in Python 3?
mykahveli's user avatar
  • 133
1 vote
2 answers
1k views

I want to make a skymap using the Mollweide projection for a main set of axes and for an inset axes. This is easy for the main axes but not for the inset. I've tried a few different things but it ...
Not Sure's user avatar
  • 137
0 votes
1 answer
163 views

i need to overlay multiple subplots onto a single plot which is already contained inside a multirow figure (see image) the reason why i need subplots instead of screen layout is because the figure ...
ivan866's user avatar
  • 592
0 votes
1 answer
341 views

I'm using immersive mode when i click on "play" and show system bars again when pressing "stop". I'm using these methods: fun hideSystemUI(container: View) { WindowCompat....
SoulReaver313's user avatar
3 votes
0 answers
645 views

I have a column, containing TextFields, and a button at the bottom of the screen. I'm trying to make the Column scrollable so that I can scroll down to see the button that hides behind the keyboard ...
Saul's user avatar
  • 119
1 vote
0 answers
2k views

I have a toolbar which is overlapping with the system bars so I am setting the insets with the toolbar. I have the implementation below which is not doing anything and it is still at the same place. I ...
a awasi's user avatar
  • 81
0 votes
1 answer
1k views

I want to edit the axis values while plotting a graph with insets in matplotlib. I know how to do it when it's a regular plot but I can't seem to figure this out. I have attached a graph with inset ...
Jo Bi's user avatar
  • 97
4 votes
0 answers
1k views

Thanks to this great answer here: https://stackoverflow.com/a/63595830/741795 we can now track when keyboard is shown in Android... Unfortunateñy I have found some issues with it. It turns out that ...
vallllll's user avatar
  • 2,761
6 votes
2 answers
7k views

At the moment my activity calls requestWindowFeature(Window.FEATURE_NO_TITLE) window.setFlags(FLAG_FULLSCREEN, FLAG_FULLSCREEN) inside of its onCreate method in order to hide the status bar and ...
Lingviston's user avatar
  • 5,721
2 votes
1 answer
3k views

How do to an inset border with a border radius on an image like so: I can use the outline CSS property .img{ border-radius: 16px; outline: 3px solid #fece40; outline-offset: -16px; } ...
neilgee's user avatar
  • 538
0 votes
2 answers
1k views

I have collapsing toolbar and some layout in it I want to collapse. To prevent view going under status bar, I use system insets to set margin for collapsing toolbar. I extracted AppBarLayout to ...
QuarK's user avatar
  • 1,322
1 vote
1 answer
97 views

I'm creating an illustration of how loess works. My two queries are at the end of this question. First, setup: library(tidyverse) data(melanoma, package = "lattice") mela <- as_tibble(...
mk9y's user avatar
  • 410
0 votes
0 answers
457 views

I am trying to read an image from an SVG file and insert in matplotlib figure. import matplotlib.pyplot as plt import pylustrator as pyl import numpy as np from matplotlib.figure import Figure from ...
Natasha's user avatar
  • 1,571
1 vote
1 answer
3k views

This is a follow-up to my previous post here. I'm trying to add an SVG image in matplotlib figure as inset. import matplotlib.pyplot as plt import numpy as np from matplotlib.figure import Figure ...
Natasha's user avatar
  • 1,571
1 vote
0 answers
370 views

I've generated a network figure and I'm adding this as an inset to a figure generated in matplotlib: import networkx as nx import matplotlib.pyplot as plt from mpl_toolkits.mplot3d import Axes3D from ...
Natasha's user avatar
  • 1,571
0 votes
1 answer
344 views

This is a follow up to my question posted here. A network diagram is added as an inset in matplotlib figure. import networkx as nx import matplotlib.pyplot as plt G = nx.gnm_random_graph(n=10, m=15, ...
Natasha's user avatar
  • 1,571
0 votes
1 answer
2k views

I'm trying to know when the animation close of the softkeyboard is done. So i try to use this function : val rootLayout = findViewById<ConstraintLayout>(R.id.root_layout) rootLayout....
Marine Droit's user avatar
0 votes
1 answer
352 views

I've generated a network figure using vedo library and I'm trying to add this as an inset to a figure generated in matplotlib import networkx as nx import matplotlib.pyplot as plt from vedo import * ...
Natasha's user avatar
  • 1,571
1 vote
0 answers
2k views

SNACK - https://snack.expo.io/@dellybro/32f625 As the title suggests, when working with react native scroll view the content inset and content offset do not seem to be applied. Android and iOS both ...
Travis Delly's user avatar
  • 1,424
0 votes
1 answer
2k views

i want to achieve the result like in this image and this is what I get when I launch the collection view (the first item): But when I scroll the inset left and right seems that aren't respecting ...
Vincenzo Flaminio's user avatar
1 vote
1 answer
828 views

I am trying to add an additional small colorbar for the inset axis. The current code, without that, is import numpy as np import matplotlib.pyplot as plt from matplotlib import cm import ...
evening silver fox's user avatar
1 vote
0 answers
41 views

Hello I am trying to create a side scroller with swift (I need to be compatible with IOS9 and I can not use UIScrollview.contentInsetAdjustmentBehavior = .never) and I am having trouble creating a ...
TeeJaay's user avatar
  • 144
1 vote
1 answer
251 views

Part 1: We are trying to make a ggplot() that shows multiple different summary statistics depending on the x-axis. We have more or less managed to do this, but are open to suggestions to help with ...
Blundering Ecologist's user avatar
0 votes
1 answer
2k views

Can someone please explain why my self made "myRectangle" that I have conformed to InsettableShape doesn't work with .strokeBorder but the built in Rectangle() does? Here is myRectangle code;...
SD449's user avatar
  • 107
1 vote
1 answer
726 views

I made this map and it's nearly perfect except for the inset map has this pesky white borer around it. I would like for the inset to just have the black line border of the actual panel border, but not ...
Salma Abdel-Raheem's user avatar
1 vote
1 answer
1k views

I am trying to plot a zoom plot inside the main plot. I was successful in running the code and getting the plots. But there was no zoom-in. My code: # create some data to use for the plot dt = 0.001 t ...
Mainland's user avatar
  • 4,702
1 vote
1 answer
278 views

In the output, I don't need the gap between the button 4 (b4) and button 5 (b5) but I couldn't do that and I tried insets also but my attempts are in vain. Can you help me out with any suggestions or ...
Sai Swaroop's user avatar
1 vote
3 answers
3k views

I have a simple corner plot. Lets just imagine the example from their page (taken from here): import corner import numpy as np ndim, nsamples = 2, 10000 np.random.seed(42) samples = np.random.randn(...
Ayan Mitra's user avatar
1 vote
1 answer
981 views

I think this is a plotting situation that probably commonly occurs in data science. I have some data on which I'm conducting a statistical test and I want to plot the data together with the outcomes ...
dan's user avatar
  • 6,342
2 votes
1 answer
3k views

I would like to use NSDirectionalEdgeInsets to UIButton's contentEdgeInsets and titleEdgeInsets. Is that possible? Background For localization purposes, an iOS application may be required to adapt ...
om-ha's user avatar
  • 3,672
2 votes
0 answers
253 views

Here is a code I have written: sp9 <- ggplot(PWPdf3_12_1250, aes(log10(Avsize), log10(Prob))) + geom_point(color= "blue") plotx <- ggplot(mpg, aes(displ, hwy)) + geom_point() + ...
Anirban Das's user avatar
1 vote
0 answers
2k views

I'd like to create an inset within my fig which is a zoom in on part of my polar plot. I've tried various different methods but can't seem to crack the correct way to do using matplotlib. My code to ...
nrs90's user avatar
  • 168
-1 votes
1 answer
7k views

I am trying to do a zoomed in inset plot like the image: The first part of the code is working i.e. it is plotting the file. Only when I try to plot the zoomed part it gives the following error I have ...
BRMBU's user avatar
  • 31
5 votes
1 answer
20k views

This example from matplotlib shows how to do an inset. However I am working with seaborn, specifically the kdeplot. sns.kdeplot(y, label='default bw') sns.kdeplot(y, bw=0.5, label="bw: 0.2", alpha=0....
posdef's user avatar
  • 6,582
0 votes
2 answers
3k views

I have 2 generic Gnuplot files: plot1.plt and plot2.plt already saved. I need to merge them in a single plot in which plot2.plt is an inset of plot1.plt. I think I can explain better with a picture. ...
Gigino's user avatar
  • 365
1 vote
0 answers
357 views

I using Chart component for iOS Swift. My chart contains icon and label(digit number). And my number label is behind of icon. How to fix this problem. I can move my icon like this: iconsOffset But ...
reza_khalafi's user avatar
  • 6,614
5 votes
1 answer
887 views

I want to make a standard inset into my plot. But I don't get how to use the inset_locator. Here is my code: import matplotlib.pyplot as plt import numpy as np from mpl_toolkits.axes_grid1....
DerWeh's user avatar
  • 1,869
1 vote
0 answers
294 views

I'm trying to insert a plot into another one by using: ... im = plt.imread(get_sample_data('Inset.eps', asfileobj=True),format='eps') newax = f.add_axes([0.14, 0.30, 0.45, 0.40]) newax.imshow(im,...
Gustavo Adolfo Cruz Diaz's user avatar