Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!
Score of 1
1 answer
107 views

So I worked with ChatGPT to create a 3D bar chart with a gradient effect in Python. I met a problem that I cannot add outlines to bars. If I do so, it will make the bar transparent. GPT says it is a ...
Score of 1
1 answer
120 views

Edit: This is potentially a bug with pyqtgraph. See issue created here: https://github.com/pyqtgraph/pyqtgraph/issues/3459 I am using PySide6 with pyqtgraph to display a graph of data where the X-axis ...
Score of 3
1 answer
112 views

I created this simple ggplot2 plot and would like to generate a vertical color gradient for the area between y = 0 and the respective values, possibly using geom_ribbon (?). However, I haven’t found ...
Score of 0
1 answer
171 views

I am using this approach <Box bgImage="gradients.gradientBluePurple_toR_600" w="64" h="64" /> Here’s my current theme setup: // src/theme/foundations/theme.ts ...
Score of 0
1 answer
100 views

I need to conditionally format all values between 2 numbers in a pivot table using a color gradient to accentuate the scale of values between that range. I'd like to not have any color for the rest of ...
Score of 3
2 answers
68 views

import torch def analyze_your_actual_code(): """分析你的实际代码""" a = torch.randn(4, requires_grad=True) print(f"a: {a}") print(f"a.grad: {a....
Score of 0
1 answer
88 views

At first I thought it was some line-height problem (:root is set to 1.25 which is still divisible by the underlying 4px grid) but it's not ... Removing the <img> from example or setting it's ...
Score of -2
1 answer
287 views

how to do gradient borders in tailwind CSS? i searched on google but found only custom CSS solutions. We can do the background as gradient with Tailwind. is there any way to apply gradient on border ...
Score of 1
0 answers
46 views

I'm using this data to try to plot multiple histograms showing political polarization in Congress over the years (dwnom1). I can get the multiple histogram with ggridges, but everytime I try to apply ...
Score of 0
1 answer
382 views

I’m trying to replicate the gradient + noise in the image below. Gradient + Noise: So far I think I roughly got the 2 gradients covered but really struggle with the noise here. I tried loads of ...
Score of 2
2 answers
109 views

I'm trying to apply a single background gradient to a grid of cards (statistic blocks) in React using Tailwind CSS. The goal is to have the gradient visible only on the cards, while the gaps between ...
Score of -3
1 answer
60 views

I have some headers on my website and I was wondering if I can make this curve from a rectangle image with CSS. This is how it looks like: Is this possible with CSS? And I also would like to get a ...
Score of 0
2 answers
125 views

I made a fancy custom checkbox that animates a gradient in/out when (un)checked. How can I make the checkbox border a gradient, as well? The border gradient should match the fill gradient just like ...
Score of 0
1 answer
103 views

Dear stackoverflow users, I am having some troubles with linear assignment problems using the functions linear_sum_assignment and minimize, both from the scipy library. In order to compare more ...
Score of 2
1 answer
108 views

I’m currently using PyTorch’s torch.autograd.functional.jacobian to compute per-sample, elementwise gradients of a scalar-valued model output w.r.t. its inputs. I need to keep create_graph=True ...

15 30 50 per page
1
2 3 4 5
292