2,510 questions
0 votes
1 answer
51 views
Automatically color points by variable without showing legend, keep separate line legend in ggplot
I want to plot points in ggplot2 with colors mapped to a variable (director), but I don’t want a legend for the points. At the same time, I have a line (geom_smooth) colored by another variable (...
0 votes
1 answer
65 views
Show / Hide button Selected lines
The question is how to make working Show/Hide button to selected lines ? In my code i make two section with 5 title. In one section i want hide Title 4 and 5 In two section i want hide Title 3,4,5 It ...
0 votes
0 answers
58 views
Show on hover javascript working great but how do I add or change to click for mobile?
I have a map where a user can mouse over a number on the map and have an info card pop up. Then when they click on the number it links to the card infos website. This doesnt work on mobile because ...
1 vote
2 answers
100 views
Why is the `unicode-show` package necessary?
I'm using the unicode-show package to make a passing hspec test: code: ...(show . Data.List.NonEmpty.head $ infiles2, outFile2) `shouldBe` ("\"/foo/bar/baz - :.ogg\"", outFile1))......
1 vote
0 answers
49 views
How to restrict the type of an instance when the instance requires a "* -> *" type in Haskell? [duplicate]
I'm trying to design a type that holds some value and keeps track of all operations done upon it. It does this by storing them in string format (this is not for a project, just learning) I tried to ...
0 votes
1 answer
126 views
Set up and use the Cats library for typeclass derivation in my Scala 3.4.2 project
Good Day, I am using Intellij 2024.1.3 and Oracle OpenJDK 22.0.1 this is my build.sbt: ThisBuild / version := "0.1.0-SNAPSHOT" ThisBuild / scalaVersion := "3.4.2" lazy val root = (...
1 vote
1 answer
89 views
JQuery Popup Reset
Sorry I'm pretty hopeless with Javascript. I have a script that shows a popup which then fades out. But I cannot get it to reset. The code as it stands only works once. function myFunction$users5()...
0 votes
1 answer
162 views
PyQt - Hidden widget leaves space in Window
I have the following code that produces a window with a QTableView visible. I add a QTextEdit to the right but hide it. When I run the code it looks as though space has been reserved on the right for ...
0 votes
1 answer
43 views
I can't make the last line spread across in my display
I have the following code to print a schedule from inputs but can't make the last line spread under the like the header does. My showRecord code is as follows... Class Appointment: def __str__(...
0 votes
2 answers
56 views
showing loader while loading and show result when finished works fine in Firefox but not in Chrome
I have a familytree site that can produce a complete tree (may show thousands of members) which takes some time to figure out. So while loading it shows a picture of a growing tree, and when ready it ...
0 votes
1 answer
254 views
WooCommerce: Show or hide Out of Stock button depending upon stock conditions
I've got a button that should appear depending upon whether or not a product or one of its variations (if it's a variable product) is out of stock. If it's in stock, don't display it. Been playing ...
0 votes
2 answers
59 views
Show/hide Javascript Toggle in the same page problem. Multiple hidden texts shows up in the same time. Without JQuery
This script works very well. But I want to show and hide different texts with different expand/hide links in the same multiple tables of the same page. Without JQuery this simple script is preferred. ...
0 votes
1 answer
103 views
TYPO3 gridelements accordeon show
I am using TYPO3 11.x with bootstrap_package an gridelements. Because I want to make an accordeon with different types of content I've integrated gridelements w/dataprocessing. It almost works, but I ...
0 votes
0 answers
37 views
How to show form (own class) called in a hidden MainWindow class? [duplicate]
I try to implement a login form. Until now, I've set the Login-Dialog seperately from the MainWindow: current_user = current_user() login_form = Loginpage(df_benutzer, current_user) form.show() window ...
1 vote
1 answer
22 views
jquery working only first item when another items was hidden
I wrote a jquery for show more and show less item. It works fine only for first item. But when I am going another item and select to show more item. It's not working. I understand that when I am ...