Git Product home page Git Product logo

Comments (2)

liqul avatar liqul commented on June 15, 2024

I haven't tried this before. But I think you need to do two things if you want to display Korean inside a Docker container:

  1. You need to install a font that supports Korean by adding that in the Dockerfile.
  2. You need to modify the configuration of the execution backend, which is a Jupyter kernel, by setting to the installed font family. This is inside the file TaskWeaver/taskweaver/ces/kernel/config.py. You can see many settings in the code like follows:
c.InlineBackend.rc = {
    "text.color": (0.25, 0.25, 0.25),
    "axes.titlesize": 14,
    "axes.labelsize": 11,
...

And you need to add your settings here.

After that, you need to build the container yourself. But I would suggest you first running TaskWeaver using code instead of the container, as it makes it slightly easier for you to try bypassing the step of building the container.

If you want to run it locally with code, you just need to clone the repo, modify the aforementioned config.py file, and then run TaskWeaver.

from taskweaver.

wmjoo avatar wmjoo commented on June 15, 2024

Thanks for your reply, your answer really helped me a lot. :)

I successfully completed the above 2 tasks you mentioned after several trials and errors, and completed the test after building the container.

from taskweaver.

Related Issues (20)

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.