Questions tagged [fig]

[Fig] is a tool built by Orchard for creating fast, isolated development environments using Docker.

Fig is a tool built by Orchard for creating fast, isolated development environments using Docker. It allows you to define the parameters to each docker container in the deployment as well as the links between the containers. Fig is useful for bringing up the entire deployment with a single command. Fig files can also be integrated with Orchard to run remote docker containers.

Fig has now been replaced by Docker Compose, and is now deprecated.

144 questions
0
votes
1 answer

R Markdown fig.cap repeats citation

I am trying to create a figure legend. My figure caption is quite long, so I'm referencing it as part of the text. Here is the section of the R Markdown: A reference to the figure in the text (See Figure @ref(fig:fig)) ```{r fig,…
0
votes
1 answer

Installing fig2pdf on macOS

I am trying to install fig2pdf library on my macbook, which uses macOS Catalina. The idea is to convert the fig file created by xfig to pdf with the Latex operations. I downloaded the relevant linux executable files from this link.…
0
votes
1 answer

Plot multiple lines froma list of coordinates in one figure

I have been trying to plot multiple lines in one figure using Matplotlib.pyplot.figure. I was able to it using pyl.plot but I want to do it using pyplot.fig pyl.plot code: import matplotlib.pylab as pyl obstListX = [[90, 90, 100, 100, 200, 200,…
Shyam3089
  • 459
  • 1
  • 5
  • 20
0
votes
0 answers

Fig caption doesn't change when i click on other images

When i click on different images the fig caption says the same thing, i am trying to change it so when i click on different images, the fig caption changes. I have attempted to change it and have only been able to put separate fig captions under…
00 11
  • 49
  • 5
0
votes
0 answers

How to increase padding (whitespace) for subplots when saving as png?

I have created a 4x2 subplot and I want to save the individual plots as separate png files. I am able to do this with the following code, however the tightbbox format is too tight and it makes it tough to read the title and x,y labels. Is there a…
James D.
  • 165
  • 4
  • 14
0
votes
1 answer

How can I check App quit in the facebook instant games?

I want to call my custom callback when player out of the game. In the docs I found only FBInstant.quit(); method, but I need an exit event. Does Facebook have this feature?
Max
  • 141
  • 4
0
votes
1 answer

Facebook Instant Gaming Matchmaking blocked on "The player is not currently eligible to match."

I have setup the matchmaking code and actually got it working 3 times where it searched, waited, and then found a match (my other account also set to search), without any problems. Then all of a sudden both of them stopped working with the only…
MDompekidis
  • 335
  • 4
  • 13
0
votes
1 answer

PHP Interfaces and namespaces

When developing a package or application is there a best practice, FIG standard or community consensus on where to place class interfaces in consideration to namespacing? For example should we:…
AndrewMcLagan
  • 13,459
  • 23
  • 91
  • 158
0
votes
0 answers

How to make an executable file on matlab and run on raspberry pi 3B

I know how to write code on matlab but I'm very beginner for raspberry pi 3. I want to write a code on matlab and run on raspberry pi. I wrote this code and will try on raspberry pi. I tried this code via connection raspberry pi to my…
Emre Kurt
  • 13
  • 4
0
votes
2 answers

Docker-compose running multiple scripts

I'm using docker-compose and a yml file to start up a container. There are two scripts in the package.json I want to call: "dev-start": "nodemon src/index.js", "dev-migrate": "db-migrate --migrations-dir src/migrations --config src/database.json…
Omiron
  • 341
  • 3
  • 15
0
votes
1 answer

matlab figure taking too long to open

I want to save a plot in .fig extension. I tried many ways but it takes too long to open (in fact it never opens sometimes after infinite wait time). I had to use Ctrl C in the command prompt to stop it. Here are my commands to print a figure in fig…
user2927392
  • 249
  • 3
  • 11
0
votes
0 answers

fig up fails with error "create_container() takes at least 2 arguments"

I am trying to deploy and run my django application using docker and fig and I am running into the following error. TypeError: create_container() takes at least 2 arguments (3 given) Here's the entire error log and the fig and docker files. (most…
Rajesh Chamarthi
  • 18,568
  • 4
  • 40
  • 67
0
votes
2 answers

Why is 'fig build' returning: AttributeError: 'WrappedSocket' object has no attribute 'recvfrom'?

My command: (I tried fig build --no-cache as well) fig build db uses an image, skipping Building web... Traceback (most recent call last): File "/usr/local/bin/fig", line 9, in load_entry_point('fig==1.0.1', 'console_scripts', 'fig')() File…
0
votes
1 answer

How to Update pip in docker using fig?

It seems like the pip in docker is old: Traceback (most recent call last): File "/usr/bin/pip", line 9, in load_entry_point('pip==1.5.4', 'console_scripts', 'pip')() File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line…
user2290820
  • 2,709
  • 5
  • 34
  • 62
0
votes
1 answer

Can't attach volume to docker with jenkins through fig

I try setup sonarqube and jenkins through one fig config. But can't attach volume to docker with jenkins through. Can somebody help? In this way container run correctly: docker run -p 8080:8080 -v /opt/jenkins_home:/var/jenkins_home…
shami13
  • 57
  • 6