Giter Club home page Giter Club logo

Comments (4)

sklucas avatar sklucas commented on August 19, 2024 1

Amazing. Thanks Alicia! I know it was a little aesthetic request, but it definitely helps a great deal!

from gglabeller.

AliciaSchep avatar AliciaSchep commented on August 19, 2024

Hi Sarah,

Can you clarify a bit, e.g. by providing an example with geom_text_repel?

If I am understanding your question correctly, the answer might be the "Parameters" tab in the gadget -- see the button at the bottom right. That allows you to interactively select ggrepel parameters. You should also be able to pass ggrepel parameters to gglabeller (and then you can refine using the Parameters tab). If you encounter any specific issues with that, please update!

from gglabeller.

AliciaSchep avatar AliciaSchep commented on August 19, 2024

Just read the title -- now I think I have a better idea. I think that is currently missing functionality, as only the named arguments from geom_text_repel (and not ... arguments to ggrepel) are able to be passed in via gglabeller or edited with parameters as described above (i.e. what was described above would apply to editing segment.color but not fontface). I'll explore adding this capability.

In the meantime, one of the outputs of the app is a code snippet for recreating the plot. That code snippet will have a call to geom_text_repel that can be manually edited to include extra arguments.

from gglabeller.

AliciaSchep avatar AliciaSchep commented on August 19, 2024

@sklucas -- just pushed a new version of gglabeller that should enable adding fontface or color or other optional arguments to geom_text_repel or geom_label_repel, e.g. with README example:

gglabeller(p, aes(label = rownames(mtcars)),  fontface = "bold", color = "red")

from gglabeller.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.